Fix: Bad merge
This commit is contained in:
parent
b801a391a4
commit
9327858bee
@ -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
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user