Skip to content

Commit

Permalink
Fix sql don.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Nov 21, 2018
1 parent 5e9abe6 commit fe30eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/don/class/don.class.php
Expand Up @@ -653,7 +653,7 @@ function fetch($id, $ref='')
}
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);
Expand Down

0 comments on commit fe30eee

Please sign in to comment.