summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo
diff options
context:
space:
mode:
authorSimon Rettberg2018-12-03 11:55:51 +0100
committerSimon Rettberg2018-12-03 11:55:51 +0100
commitacd0f96696dc5c7d581902186f913fb3dff5302d (patch)
tree01f1ed0975e94888896ccf5af19f01accc068b91 /modules-available/locationinfo
parent[dozmod] ldapfilter: Update table scheme, fix minor bugs (diff)
downloadslx-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')
-rw-r--r--modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php2
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) {