Fix: template doesn't delete LOB files
This commit is contained in:
parent
16ad836dce
commit
b03de37d78
2 changed files with 3 additions and 3 deletions
|
|
@ -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']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue