mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-44137 group: fix stdClass name
Fix only for new core_group_update_groups webservice.
This commit is contained in:
parent
f6ca9ca691
commit
17af25ce92
@ -1550,7 +1550,7 @@ class core_group_external extends external_api {
|
||||
try {
|
||||
self::validate_context($context);
|
||||
} catch (Exception $e) {
|
||||
$exceptionparam = new sdtClass();
|
||||
$exceptionparam = new stdClass();
|
||||
$exceptionparam->message = $e->getMessage();
|
||||
$exceptionparam->courseid = $group->courseid;
|
||||
throw new moodle_exception('errorcoursecontextnotvalid', 'webservice', '', $exceptionparam);
|
||||
|
Loading…
x
Reference in New Issue
Block a user