]> git.mjollnir.org Git - moodle.git/commitdiff
Make error messages non-ambiguous. Merged from MOODLE_18_STABLE.
authortjhunt <tjhunt>
Thu, 1 Mar 2007 16:42:39 +0000 (16:42 +0000)
committertjhunt <tjhunt>
Thu, 1 Mar 2007 16:42:39 +0000 (16:42 +0000)
admin/roles/tabs.php

index f240896af416c457da9de97832ae62021db93949..738a0bed9af48b25d2eb1965ba91605902956897 100755 (executable)
@@ -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;
 
     }