mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
"MDL-14129, fix print_error"
This commit is contained in:
parent
02dc703298
commit
b121a4eed9
8 changed files with 23 additions and 20 deletions
|
@ -22,7 +22,7 @@ if ($showall) {
|
|||
}
|
||||
|
||||
if (!$group = get_record('groups', 'id', $groupid)) {
|
||||
print_error('Incorrect group id');
|
||||
print_error('invalidgroupid');
|
||||
}
|
||||
|
||||
if (!$course = get_record('course', 'id', $group->courseid)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue