mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-32151 group: Use appropriate error langstring error key
This commit is contained in:
parent
d9ce6a4ffb
commit
628fbd48fe
@ -31,7 +31,7 @@ $courseid = required_param('id', PARAM_INT);
|
||||
$PAGE->set_url('/group/groupings.php', array('id'=>$courseid));
|
||||
|
||||
if (!$course = $DB->get_record('course', array('id'=>$courseid))) {
|
||||
print_error('nocourseid');
|
||||
print_error('invalidcourseid');
|
||||
}
|
||||
|
||||
require_login($course);
|
||||
|
Loading…
x
Reference in New Issue
Block a user