Merge branch 'MDL-76284-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
This commit is contained in:
+2
-1
@@ -684,7 +684,8 @@ class webservice {
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($servicecaps)) {
|
||||
// Bail out early if there's nothing to process.
|
||||
if (empty($users) || empty($servicecaps)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user