Fix bug : cannot remove document_modele object
This commit is contained in:
parent
ca7dd5ee94
commit
f470fa589a
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class Document_modele {
|
|||
if ( strlen ($r['md_lob']) != 0 )
|
||||
{
|
||||
// we remove it first
|
||||
pg_lo_unlink($r['md_lob']);
|
||||
pg_lo_unlink($this->cn,$r['md_lob']);
|
||||
}
|
||||
// now we can delete the row
|
||||
$sql="delete from document_modele where md_id =".$this->md_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue