]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
missed an AND
authorEvan Prodromou <evan@status.net>
Tue, 27 Sep 2011 14:47:13 +0000 (10:47 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 27 Sep 2011 14:47:13 +0000 (10:47 -0400)
classes/Profile_tag.php

index c9f8d96713e29713cb43c03293f7ec6ea50893a0..0d90d4da1415dc6c2b30fdc7dac752642fd5c2be 100644 (file)
@@ -86,7 +86,7 @@ class Profile_tag extends Managed_DataObject
         $qry = sprintf($qry, $tagger, $tagged);
 
         if (!$include_priv) {
-            $qry .= 'profile_list.private = 0';
+            $qry .= ' and profile_list.private = 0';
         }
 
         $profile_list->query($qry);