missed an AND

This commit is contained in:
Evan Prodromou 2011-09-27 10:47:13 -04:00
parent ce044c40fb
commit 707f90d012

View File

@ -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);