mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-53027-master' of git://github.com/cameron1729/moodle
This commit is contained in:
commit
57ecaf68b8
@ -728,8 +728,8 @@ function calendar_get_events($tstart, $tend, $users, $groups, $courses, $withdur
|
||||
|
||||
$whereclause = '';
|
||||
$params = array();
|
||||
// Quick test
|
||||
if(is_bool($users) && is_bool($groups) && is_bool($courses)) {
|
||||
// Quick test.
|
||||
if (empty($users) && empty($groups) && empty($courses)) {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user