diff --git a/modules/aggiornamenti/upload_modules.php b/modules/aggiornamenti/upload_modules.php index dc8f3ca40..5665f9188 100755 --- a/modules/aggiornamenti/upload_modules.php +++ b/modules/aggiornamenti/upload_modules.php @@ -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,