From 5f0f9ff32617ef33ea47b1aab02a4f93a1b7cf41 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Feb 2018 23:57:57 +0100 Subject: [PATCH] Fix delete page --- htdocs/core/class/commonobject.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index ecabc30b681..6a1ef4b0004 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -6458,7 +6458,7 @@ abstract class CommonObject } } - if (! $error) + /*if (! $error) { $sql = "DELETE FROM " . MAIN_DB_PREFIX . $this->table_element."_extrafields"; $sql.= " WHERE fk_object=" . $this->id; @@ -6469,7 +6469,7 @@ abstract class CommonObject $this->errors[] = $this->db->lasterror(); $error++; } - } + }*/ if (! $error) {