Bad call to joinAdd in Profile.php

This commit is contained in:
Mikael Nordfeldth 2013-09-16 22:36:44 +02:00
parent 8935a2f866
commit 8140c4ff90
1 changed files with 1 additions and 1 deletions

View 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"');