From 9327858bee465fc2ff55f4235f912ad0be2aa93f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Jul 2012 12:23:17 +0200 Subject: [PATCH] Fix: Bad merge --- htdocs/core/class/commonobject.class.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 1de92663642..2fce0a684b8 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1654,21 +1654,8 @@ abstract class CommonObject $sql.= " WHERE "; if ($justsource || $justtarget) { -<<<<<<< OURS if ($justsource) $sql.= "fk_source = '".$sourceid."' AND sourcetype = '".$sourcetype."'"; if ($justtarget) $sql.= "fk_target = '".$targetid."' AND targettype = '".$targettype."'"; -======= - if ($justsource) - { - $sql.= "fk_source = '".$sourceid."' AND sourcetype = '".$sourcetype."'"; - if ($withtargettype) $sql.= " AND targettype = '".$targettype."'"; - } - else if ($justtarget) - { - $sql.= "fk_target = '".$targetid."' AND targettype = '".$targettype."'"; - if ($withsourcetype) $sql.= " AND sourcetype = '".$sourcetype."'"; - } ->>>>>>> THEIRS } else {