X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FProfile_list.php;h=27001978b6dd1ca9de26b02f67fdd9084aa97d8e;hb=5b2a85303a90faf6a309797d87ff0323420dd4c0;hp=c433a53fee5d865edff350cb9e63739cbf8df8d7;hpb=7d64d8c78cfa102b91975598ef9e574d2ef14b8c;p=quix0rs-gnu-social.git diff --git a/classes/Profile_list.php b/classes/Profile_list.php index c433a53fee..27001978b6 100644 --- a/classes/Profile_list.php +++ b/classes/Profile_list.php @@ -221,7 +221,10 @@ class Profile_list extends Managed_DataObject { $subs = new Profile(); - $subs->joinAdd(array('id', 'profile_tag_subscription:profile_tag_id')); + $subs->joinAdd( + array('id', 'profile_tag_subscription:profile_id') + ); + $subs->whereAdd('profile_tag_subscription.profile_tag_id = ' . $this->id); $subs->selectAdd('unix_timestamp(profile_tag_subscription.' . 'created) as "cursor"');