]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscriptionspeopletagcloudsection.php
Updated stylesheet paths for facebook app
[quix0rs-gnu-social.git] / lib / subscriptionspeopletagcloudsection.php
index c3f7d1763ed84e96c3dc5b086e6847b3dc001727..f9c8672e36832c147e2e7b8c09f784134aa236dc 100644 (file)
@@ -54,6 +54,8 @@ class SubscriptionsPeopleTagCloudSection extends SubPeopleTagCloudSection
     }
 
     function query() {
-        return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagger and subscribed=tagged where subscriber=%d and subscriber != subscribed group by tag order by weight desc';
+//        return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagger and subscribed=tagged where subscriber=%d and subscriber != subscribed group by tag order by weight desc';
+        return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagger and subscribed=tagged where subscriber=%d and subscriber != subscribed and tag is not null group by tag order by weight desc';
     }
 }
+