feedback MDL-21064 Hardcoded string in /mod/feedback/index.php

This commit is contained in:
Andrew Davis
2009-12-17 06:02:46 +00:00
parent 0d4f1ce6f0
commit f69815f938
+1 -1
View File
@@ -36,7 +36,7 @@ echo $OUTPUT->header();
/// Get all the appropriate data
if (! $feedbacks = get_all_instances_in_course("feedback", $course)) {
notice("There are no feedbacks", htmlspecialchars('../../course/view.php?id='.$course->id));
notice(get_string('thereareno', 'moodle', $strfeedbacks), new moodle_url($CFG->wwwroot.'/course/view.php', array('id'=>$course->id)));
die;
}