]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
[quix0rs-gnu-social.git] / classes / Profile.php
index fef2a21710363e8d72cb1f8f3257b98889a28626..1076fb2cb3e09f8b95b1915b36f1b6bb5ffbcef6 100644 (file)
@@ -358,7 +358,8 @@ class Profile extends Memcached_DataObject
           'SELECT a.* ' .
           'FROM oauth_application_user u, oauth_application a ' .
           'WHERE u.profile_id = %d ' .
-         'AND a.id = u.application_id ' .
+          'AND a.id = u.application_id ' .
+          'AND u.access_type > 0 ' .
           'ORDER BY u.created DESC ';
 
         if ($offset > 0) {