From 8140c4ff90ab0393e9fda9b5632840d4cca9cd07 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 16 Sep 2013 22:36:44 +0200 Subject: [PATCH] Bad call to joinAdd in Profile.php --- classes/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Profile.php b/classes/Profile.php index bc0f6922e8..5d7946bcd8 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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"'); -- 2.39.5