Fix delete page

This commit is contained in:
Laurent Destailleur 2018-02-14 23:57:57 +01:00
parent 7ba55ea12e
commit 5f0f9ff326

View File

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