diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-01-26 08:33:30 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-01-26 08:33:30 +0000 |
| commit | bbd06b0c4506231eab1d8a089ca6d27de0dc8461 (patch) | |
| tree | ecfbceaca00bdd4a651a1f6483822012bd859874 /lib/classes/TreeAbstract.class.php | |
| parent | 0febc37237ad6c8c4840ed75e09c35d52b8a34be (diff) | |
fixes #3674
Closes #3674
Merge request studip/studip!2547
Diffstat (limited to 'lib/classes/TreeAbstract.class.php')
| -rw-r--r-- | lib/classes/TreeAbstract.class.php | 2 |
1 files changed, 1 insertions, 1 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 []; } |
