Fix minore

This commit is contained in:
valentina 2024-06-14 14:31:38 +02:00
parent 1c6b6f4d1e
commit 193ea73045
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ if (file_exists($extraction_dir.'/VERSION')) {
$installed = Prints::getPrints()[$info['name']];
$insert['id_module'] = Module::where('name', $info['module'])->first()->id;
$insert['is_record'] = $info['is_record'];
$insert_lang['filename'] = $info['filename'];
$insert['filename'] = $info['filename'];
$insert['icon'] = $info['icon'];
}
@ -181,7 +181,7 @@ if (file_exists($extraction_dir.'/VERSION')) {
'id_module' => $insert['id_module'],
'is_record' => $insert['is_record'],
'icon' => $insert['icon'],
'filename' => $insert_lang['filename'],
'filename' => $insert['filename'],
'order' => 100,
'default' => 0,
'enabled' => 1,