From: Evan Prodromou Date: Mon, 12 Sep 2011 17:36:12 +0000 (-0400) Subject: correct the URI-generation for group memberships X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8f78743198af265b504e41931992493771c1c811;p=quix0rs-gnu-social.git correct the URI-generation for group memberships --- diff --git a/classes/Group_member.php b/classes/Group_member.php index 2ad6589a3c..53743e7f24 100644 --- a/classes/Group_member.php +++ b/classes/Group_member.php @@ -203,14 +203,14 @@ class Group_member extends Managed_DataObject if (!empty($this->uri)) { return $this->uri; } else { - return self::newURI($this->member_id, $this->group_id, $this->created); + return self::newURI($this->profile_id, $this->group_id, $this->created); } } - static function newURI($member_id, $group_id, $created) + static function newURI($profile_id, $group_id, $created) { return TagURI::mint('join:%d:%d:%s', - $member_id, + $profile_id, $group_id, common_date_iso8601($created)); }