missed an AND
This commit is contained in:
parent
ce044c40fb
commit
707f90d012
@ -86,7 +86,7 @@ class Profile_tag extends Managed_DataObject
|
|||||||
$qry = sprintf($qry, $tagger, $tagged);
|
$qry = sprintf($qry, $tagger, $tagged);
|
||||||
|
|
||||||
if (!$include_priv) {
|
if (!$include_priv) {
|
||||||
$qry .= 'profile_list.private = 0';
|
$qry .= ' and profile_list.private = 0';
|
||||||
}
|
}
|
||||||
|
|
||||||
$profile_list->query($qry);
|
$profile_list->query($qry);
|
||||||
|
Loading…
Reference in New Issue
Block a user