noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 20/23: Fix: template doesn't delete LOB files


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 20/23: Fix: template doesn't delete LOB files
Date: Tue, 24 Nov 2020 14:22:44 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit b03de37d7837d76bdb622a0f75f689a7914e4dec
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Nov 17 17:24:18 2020 +0100

    Fix: template doesn't delete LOB files
---
 html/lang/en_US/LC_MESSAGES/messages.po | 4 ++--
 include/modele.inc.php                  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/html/lang/en_US/LC_MESSAGES/messages.po 
b/html/lang/en_US/LC_MESSAGES/messages.po
index e03896d..63332d6 100644
--- a/html/lang/en_US/LC_MESSAGES/messages.po
+++ b/html/lang/en_US/LC_MESSAGES/messages.po
@@ -11,7 +11,7 @@ msgstr ""
 "Project-Id-Version: NOALYSS 672\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2020-11-12 22:12+0100\n"
-"PO-Revision-Date: 2020-11-13 08:59+0100\n"
+"PO-Revision-Date: 2020-11-16 11:15+0100\n"
 "Last-Translator: dany <danydb@noalyss.eu>\n"
 "Language-Team: French <kde-i18n-doc@kde.org>\n"
 "Language: en_US\n"
@@ -4907,7 +4907,7 @@ msgstr "Start the uprade or the installation"
 #: include/template/detail-action.php:339
 #: include/template/detail-action.php:342
 msgid "Commentaire"
-msgstr "How"
+msgstr "Comment"
 
 #: include/class_fiche_def_ref.php:98 include/class/class_fiche_def_ref.php:98
 #: include/class/fiche_def_ref.class.php:98
diff --git a/include/modele.inc.php b/include/modele.inc.php
index dab6e08..65a6dbe 100644
--- a/include/modele.inc.php
+++ b/include/modele.inc.php
@@ -111,7 +111,7 @@ if (isset($_POST["FMOD_NAME"]))
        if (Database::num_row($Res) != 0)
        {
                $a_lob = Database::fetch_all($Res);
-                $nb_log=($a_lob == FALSE)?0:count($a_lob);
+                $nb_lob=($a_lob == FALSE)?0:count($a_lob);
                for ($i = 0; $i < $nb_lob; $i++)
                        $cn_mod->lo_unlink($a_lob[$i]['jr_pj']);
        }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]