]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16369 Added error info in accesslib
authornicolasconnault <nicolasconnault>
Sat, 6 Sep 2008 13:19:26 +0000 (13:19 +0000)
committernicolasconnault <nicolasconnault>
Sat, 6 Sep 2008 13:19:26 +0000 (13:19 +0000)
lib/accesslib.php

index 9dded0f2b2f508b41b6556c5b79a224251c0d0da..7047e4fadd0e4ca07c7268bf465b32f4c39b5ae4 100755 (executable)
@@ -2019,7 +2019,7 @@ function create_context($contextlevel, $instanceid) {
                 }
             } else {
                 // cm does not exist
-                $error_message = "cm with id $instanceic does not exist";
+                $error_message = "cm with id $instanceid does not exist";
                 $result = false;
             }
             break;