Fix: Bad merge

This commit is contained in:
Laurent Destailleur 2012-07-13 12:23:17 +02:00
parent b801a391a4
commit 9327858bee

View File

@ -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
{