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 638fa16..4c4787e 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);