Group membership URI needs dataobjects not IDs
This commit is contained in:
parent
feb6b636f4
commit
cf916141d0
@ -359,7 +359,7 @@ function initGroupMemberURI()
|
|||||||
$mem->query(sprintf('update group_member set uri = "%s" '.
|
$mem->query(sprintf('update group_member set uri = "%s" '.
|
||||||
'where profile_id = %d ' .
|
'where profile_id = %d ' .
|
||||||
'and group_id = %d ',
|
'and group_id = %d ',
|
||||||
Group_member::newURI($mem->profile_id, $mem->group_id, $mem->created),
|
Group_member::newUri(Profile::getByID($mem->profile_id), User_group::getByID($mem->group_id), $mem->created),
|
||||||
$mem->profile_id,
|
$mem->profile_id,
|
||||||
$mem->group_id));
|
$mem->group_id));
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user