]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bad call to joinAdd in Profile.php
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 16 Sep 2013 20:36:44 +0000 (22:36 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 16 Sep 2013 20:36:44 +0000 (22:36 +0200)
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"');