diff options
author | Simon Rettberg | 2018-12-03 11:55:51 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-12-03 11:55:51 +0100 |
commit | acd0f96696dc5c7d581902186f913fb3dff5302d (patch) | |
tree | 01f1ed0975e94888896ccf5af19f01accc068b91 /modules-available/locationinfo/inc | |
parent | [dozmod] ldapfilter: Update table scheme, fix minor bugs (diff) | |
download | slx-admin-acd0f96696dc5c7d581902186f913fb3dff5302d.tar.gz slx-admin-acd0f96696dc5c7d581902186f913fb3dff5302d.tar.xz slx-admin-acd0f96696dc5c7d581902186f913fb3dff5302d.zip |
[locationinfo] HiS: Check if event has any planned dates
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php index 3b26e625..22b1d8fb 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php @@ -291,6 +291,8 @@ class CourseBackend_HisInOne extends CourseBackend continue; } foreach ($planElements as $planElement) { + if (empty($planElement['hisplannedDates'])) + continue; $unitPlannedDates = $this->getArrayPath($planElement, '/hisplannedDates/hisplannedDate/hisindividualDates/hisindividualDate'); if ($unitPlannedDates === false) { |