]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Bad call to joinAdd in Profile.php
[quix0rs-gnu-social.git] / classes / Profile.php
index bc0f6922e83119d258ccbf085d0059e02d9a2768..5d7946bcd8d0f93b0fe6d8957ea3998f79d9de87 100644 (file)
@@ -557,7 +557,7 @@ class Profile extends Managed_DataObject
         $lists = new Profile_list();
         $subs = new Profile_tag_subscription();
 
-        $lists->joinAdd('id', 'profile_tag_subscription:profile_tag_id');
+        $lists->joinAdd(array('id', 'profile_tag_subscription:profile_tag_id'));
 
         #@fixme: postgres (round(date_part('epoch', my_date)))
         $lists->selectAdd('unix_timestamp(profile_tag_subscription.created) as "cursor"');