Fixed error message that created a warning

This commit is contained in:
gustav_delius
2005-05-06 16:27:30 +00:00
parent 15f3e35a48
commit 47d726e9ae
+1 -1
View File
@@ -82,7 +82,7 @@
} else {
// no quiz or course was specified so we need to use the stored modform
if (!isset($SESSION->modform)) {
error(get_string('wronguse', 'quiz'), '../../course/view.php?id='.$course->id);
error(get_string('wronguse', 'quiz'));
}
$modform = $SESSION->modform;
}