Skip to content
Snippets Groups Projects
Commit 770055cd authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Delete order

parent 459855a6
No related branches found
No related tags found
No related merge requests found
......@@ -1886,7 +1886,7 @@ class Commande extends CommonObject
$sql = "DELETE FROM ".MAIN_DB_PREFIX."element_element";
$sql.= " WHERE fk_target = ".$this->id;
$sql.= " AND targettype = ".$this->element;
$sql.= " AND targettype = '".$this->element."'";
if (! $this->db->query($sql) )
{
$err++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment