Fix delete page
This commit is contained in:
parent
7ba55ea12e
commit
5f0f9ff326
@ -6458,7 +6458,7 @@ abstract class CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $error)
|
/*if (! $error)
|
||||||
{
|
{
|
||||||
$sql = "DELETE FROM " . MAIN_DB_PREFIX . $this->table_element."_extrafields";
|
$sql = "DELETE FROM " . MAIN_DB_PREFIX . $this->table_element."_extrafields";
|
||||||
$sql.= " WHERE fk_object=" . $this->id;
|
$sql.= " WHERE fk_object=" . $this->id;
|
||||||
@ -6469,7 +6469,7 @@ abstract class CommonObject
|
|||||||
$this->errors[] = $this->db->lasterror();
|
$this->errors[] = $this->db->lasterror();
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user