From 193ea73045c20d6be3cc2cf48d1fb25cd962004a Mon Sep 17 00:00:00 2001 From: valentina Date: Fri, 14 Jun 2024 14:31:38 +0200 Subject: [PATCH] Fix minore --- modules/aggiornamenti/upload_modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,