From c6cfc52912d953f6e71fb6804263fb2dadae6d39 Mon Sep 17 00:00:00 2001 From: valentina Date: Fri, 14 Jun 2024 14:43:18 +0200 Subject: [PATCH] Fix minore --- modules/aggiornamenti/upload_modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aggiornamenti/upload_modules.php b/modules/aggiornamenti/upload_modules.php index dc8f3ca40..d042a8cbe 100755 --- a/modules/aggiornamenti/upload_modules.php +++ b/modules/aggiornamenti/upload_modules.php @@ -181,7 +181,6 @@ if (file_exists($extraction_dir.'/VERSION')) { 'id_module' => $insert['id_module'], 'is_record' => $insert['is_record'], 'icon' => $insert['icon'], - 'filename' => $insert_lang['filename'], 'order' => 100, 'default' => 0, 'enabled' => 1, @@ -190,6 +189,7 @@ if (file_exists($extraction_dir.'/VERSION')) { $dbo->insert($table.'_lang', array_merge($insert_lang, [ 'title' => !empty($info['title']) ? $info['title'] : $info['name'], 'id_record' => $id_record, + 'filename' => $insert_lang['filename'], 'id_lang' => Models\Locale::getDefault()->id, ])); flash()->error(tr('Installazione completata!'));