]> git.mjollnir.org Git - moodle.git/commitdiff
Slightly more info in error message
authormoodler <moodler>
Mon, 11 Nov 2002 08:25:05 +0000 (08:25 +0000)
committermoodler <moodler>
Mon, 11 Nov 2002 08:25:05 +0000 (08:25 +0000)
course/mod.php

index 638fa168688742fae9d9401d1651858b3f88ca21..4c4787eee7bc0697c6b3726dfbf24c0cace816c8 100644 (file)
         print_simple_box_end();
 
     } else {
-        notice("This module cannot be added to this course yet!", "$CFG->wwwroot/course/view.php?id=$course->id");
+        notice("This module cannot be added to this course yet! (No file found at: $modform)", "$CFG->wwwroot/course/view.php?id=$course->id");
     }
 
     print_footer($course);