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

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