MDL-21204 fixed incorrect url params, credit goes to Gabriel Dias

This commit is contained in:
Petr Skoda
2009-12-28 19:42:19 +00:00
parent 5d77fc1d2b
commit 7a82b2afc8
+1 -1
View File
@@ -65,7 +65,7 @@
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
require_login();
require_capability('moodle/role:manage', $systemcontext);
admin_externalpage_setup('defineroles', '', array($action, $roleid), $defineurl);
admin_externalpage_setup('defineroles', '', array('action' => $action, 'roleid' => $roleid), $defineurl);
/// Handle the cancel button.
if (optional_param('cancel', false, PARAM_BOOL)) {