Fix: Bad merge
This commit is contained in:
parent
b801a391a4
commit
9327858bee
@ -1654,21 +1654,8 @@ abstract class CommonObject
|
|||||||
$sql.= " WHERE ";
|
$sql.= " WHERE ";
|
||||||
if ($justsource || $justtarget)
|
if ($justsource || $justtarget)
|
||||||
{
|
{
|
||||||
<<<<<<< OURS
|
|
||||||
if ($justsource) $sql.= "fk_source = '".$sourceid."' AND sourcetype = '".$sourcetype."'";
|
if ($justsource) $sql.= "fk_source = '".$sourceid."' AND sourcetype = '".$sourcetype."'";
|
||||||
if ($justtarget) $sql.= "fk_target = '".$targetid."' AND targettype = '".$targettype."'";
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user