]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ACLFormatter.php
Possibly fixing the test
[friendica.git] / src / Util / ACLFormatter.php
index 0c53e08c9365a723638df41ccd5e48936e541bf8..03aded38544f2914c8f91dbaf992560c5887ee2f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, 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 [];
                }