From 0d13b8d194c849cf5f5611c8c466d54f676aea9c Mon Sep 17 00:00:00 2001 From: fhenry Date: Fri, 10 May 2013 18:35:19 +0200 Subject: [PATCH] Fix previous bug --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index f27f5b6a516..49ee3f471cd 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1711,7 +1711,7 @@ abstract class CommonObject $sql.= "(fk_source = '".$sourceid."' AND sourcetype = '".$sourcetype."')"; $sql.= " ".$clause." (fk_target = '".$targetid."' AND targettype = '".$targettype."')"; } - $sql = ' ORDER BY sourcetype'; + $sql .= ' ORDER BY sourcetype'; //print $sql; dol_syslog(get_class($this)."::fetchObjectLink sql=".$sql);