Fix: template doesn't delete LOB files

This commit is contained in:
sparkyx 2020-11-17 17:24:18 +01:00
parent 16ad836dce
commit b03de37d78
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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']);
}