Fix sql don.class.php
This commit is contained in:
parent
5e9abe6aad
commit
fe30eee16e
@ -653,7 +653,7 @@ class Don extends CommonObject
|
||||
}
|
||||
else if (! empty($ref))
|
||||
{
|
||||
$sql.= " AND ref='".$this->db->escape($ref)."'";
|
||||
$sql.= " AND d.ref='".$this->db->escape($ref)."'";
|
||||
}
|
||||
|
||||
dol_syslog(get_class($this)."::fetch", LOG_DEBUG);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user