Make error messages non-ambiguous. Merged from MOODLE_18_STABLE.

This commit is contained in:
tjhunt 2007-03-01 16:42:39 +00:00
parent 8388ade865
commit 341e99513b

View File

@ -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;
}