]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ACLFormatter.php
Fixed max value check, improved request value fetching
[friendica.git] / src / Util / ACLFormatter.php
index 352c914bcf54222953eefaebd243003b71531d1f..3989bc6ef9194574caefea340040bb40e8fef780 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -38,7 +38,7 @@ final class ACLFormatter
        public function expand(string $acl_string = null)
        {
                // In case there is no ID list, return empty array (=> no ACL set)
-               if (!isset($acl_string)) {
+               if (empty($acl_string)) {
                        return [];
                }