Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Slightly more info in error message

  • Loading branch information...
commit 7304b852cdecc42730e2614a72a247b420c8796b 1 parent 07358d4
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/mod.php
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.