Skip to content
Snippets Groups Projects
Commit 70bd56be authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: remove alias

parent 5d89d5d7
Branches
Tags
No related merge requests found
......@@ -1022,7 +1022,7 @@ class Product extends CommonObject
if ($id) $sql.= " WHERE rowid = '".$id."'";
else
{
$sql.= " WHERE p.entity IN (".getEntity($this->element, 1).")";
$sql.= " WHERE entity IN (".getEntity($this->element, 1).")";
if ($ref) $sql.= " AND ref = '".$this->db->escape($ref)."'";
else if ($ref_ext) $sql.= " AND ref_ext = '".$this->db->escape($ref_ext)."'";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment