diff options
| author | Simon Rettberg | 2025-07-24 10:22:37 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2025-07-24 10:22:37 +0200 |
| commit | 3e9657f142d8a7b7fa8572e3398bfc15ad277a1a (patch) | |
| tree | 0797323ed342befe9cae5adbc3ff8492f7e451b4 | |
| parent | [session] Add audit log view (diff) | |
| download | slx-admin-3e9657f142d8a7b7fa8572e3398bfc15ad277a1a.tar.gz slx-admin-3e9657f142d8a7b7fa8572e3398bfc15ad277a1a.tar.xz slx-admin-3e9657f142d8a7b7fa8572e3398bfc15ad277a1a.zip | |
[locations] Fix inverted logic bug
| -rw-r--r-- | modules-available/locations/inc/location.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/inc/location.inc.php b/modules-available/locations/inc/location.inc.php index 487bb5ff..4cef7d58 100644 --- a/modules-available/locations/inc/location.inc.php +++ b/modules-available/locations/inc/location.inc.php @@ -274,7 +274,7 @@ class Location return self::$flatLocationCache[$locationid]['isleaf'] ?? false; if (self::$assocLocationCache !== null) return self::$assocLocationCache[$locationid]['isleaf'] ?? false; - return !empty(self::getAllLocationIds($locationid)); + return empty(self::getAllLocationIds($locationid)); } /** |
