From 707f90d0127e2c994f38d0708e7c829f9b26c2d0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 27 Sep 2011 10:47:13 -0400 Subject: [PATCH] missed an AND --- classes/Profile_tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Profile_tag.php b/classes/Profile_tag.php index c9f8d96713..0d90d4da14 100644 --- a/classes/Profile_tag.php +++ b/classes/Profile_tag.php @@ -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); -- 2.39.5