From 7304b852cdecc42730e2614a72a247b420c8796b Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 11 Nov 2002 08:25:05 +0000 Subject: [PATCH] Slightly more info in error message --- course/mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/mod.php b/course/mod.php index 638fa16868..4c4787eee7 100644 --- a/course/mod.php +++ b/course/mod.php @@ -287,7 +287,7 @@ 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); -- 2.39.5