Commit d35759ae authored by David Monllaó's avatar David Monllaó
Browse files

Merge branch 'MDL-46550-28' of git://github.com/ankitagarwal/moodle into MOODLE_28_STABLE

parents 4cd93d25 b3b4c00d
......@@ -72,7 +72,7 @@ class role_capabilities_updated extends base {
* @return \moodle_url
*/
public function get_url() {
if ($this->contextlevel === CONTEXT_SYSTEM) {
if ($this->contextlevel == CONTEXT_SYSTEM) {
return new \moodle_url('/admin/roles/define.php', array('action' => 'view', 'roleid' => $this->objectid));
} else {
return new \moodle_url('/admin/roles/override.php', array('contextid' => $this->contextid,
......
Supports Markdown
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