mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
Make error messages non-ambiguous. Merged from MOODLE_18_STABLE.
This commit is contained in:
parent
8388ade865
commit
341e99513b
@ -104,7 +104,7 @@ if ($currenttab != 'update') {
|
||||
break;
|
||||
|
||||
default:
|
||||
error ('This is an unknown context!');
|
||||
error ('This is an unknown context (' . $context->contextlevel . ') in admin/roles/tabs.php!');
|
||||
return false;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user