mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-32151 group: Use appropriate error langstring error key
This commit is contained in:
parent
d9ce6a4ffb
commit
628fbd48fe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue