From bbd06b0c4506231eab1d8a089ca6d27de0dc8461 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Fri, 26 Jan 2024 08:33:30 +0000 Subject: fixes #3674 Closes #3674 Merge request studip/studip!2547 --- lib/classes/TreeAbstract.class.php | 2 +- templates/dates/seminar_html.php | 2 +- templates/dates/seminar_html_location.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/classes/TreeAbstract.class.php b/lib/classes/TreeAbstract.class.php index 69fedce..ccdb6e1 100644 --- a/lib/classes/TreeAbstract.class.php +++ b/lib/classes/TreeAbstract.class.php @@ -358,7 +358,7 @@ class TreeAbstract { */ public function getParents($item_id) { - if (!$this->tree_data[$item_id]) { + if (empty($this->tree_data[$item_id])) { return []; } diff --git a/templates/dates/seminar_html.php b/templates/dates/seminar_html.php index b91079a..47aa0aa 100644 --- a/templates/dates/seminar_html.php +++ b/templates/dates/seminar_html.php @@ -1,6 +1,6 @@ - +
$dates) : ?> @@ -91,5 +91,5 @@ endforeach; - +
-- cgit v1.0