MDL-52984 Roles : Logs store newly created role's id

This commit is contained in:
Rushikesh
2016-02-29 15:01:07 +05:30
committed by Rushikesh Nalla
parent e50cd7c14f
commit b18af92a44
+1 -1
View File
@@ -201,7 +201,7 @@ if (optional_param('savechanges', false, PARAM_BOOL) && confirm_sesskey() && $de
$event = \core\event\role_capabilities_updated::create(
array(
'context' => $systemcontext,
'objectid' => $roleid
'objectid' => $tableroleid
)
);
$event->set_legacy_logdata(array(SITEID, 'role', $action, 'admin/roles/define.php?action=view&roleid=' . $tableroleid,