We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit cf916141 authored by mattl's avatar mattl

Group membership URI needs dataobjects not IDs

parent feb6b636
......@@ -359,7 +359,7 @@ function initGroupMemberURI()
$mem->query(sprintf('update group_member set uri = "%s" '.
'where profile_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),
} catch (Exception $e) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment