]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ACLFormatter.php
Merge pull request #11490 from annando/issue-11487
[friendica.git] / src / Util / ACLFormatter.php
index 0c53e08c9365a723638df41ccd5e48936e541bf8..3989bc6ef9194574caefea340040bb40e8fef780 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @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 [];
                }