diff options
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 []; } |
