This commit is contained in:
Laurent Destailleur 2019-11-02 13:37:30 +01:00
parent 58ffb73627
commit 9e69b12847

View File

@ -2087,7 +2087,10 @@ class Product extends CommonObject
}
$resql = $this->db->query($sql);
if ($resql ) {
if ($resql) {
unset($this->oldcopy);
if ($this->db->num_rows($resql) > 0) {
$obj = $this->db->fetch_object($resql);