]> git.mxchange.org Git - friendica.git/commitdiff
standards
authorMichael <heluecht@pirati.ca>
Sat, 24 Mar 2018 19:40:35 +0000 (19:40 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 24 Mar 2018 19:40:35 +0000 (19:40 +0000)
src/Core/ACL.php

index 78d2ca41bf23f474479bcb4b14fc466f50bb177a..4e8bf6abde2e5eb85a786b08a632cbafd92fc304 100644 (file)
@@ -221,7 +221,8 @@ class ACL extends BaseObject
                return $o;
        }
 
-       private static function fixACL(&$item) {
+       private static function fixACL(&$item)
+       {
                $item = intval(str_replace(['<', '>'], ['', ''], $item));
        }
 
@@ -247,10 +248,10 @@ class ACL extends BaseObject
                $deny_gid = $matches[1];
 
                // Reformats the ACL data so that it is accepted by the JS frontend
-                array_walk($allow_cid, 'self::fixACL');
-                array_walk($allow_gid, 'self::fixACL');
-                array_walk($deny_cid, 'self::fixACL');
-                array_walk($deny_gid, 'self::fixACL');
+               array_walk($allow_cid, 'self::fixACL');
+               array_walk($allow_gid, 'self::fixACL');
+               array_walk($deny_cid, 'self::fixACL');
+               array_walk($deny_gid, 'self::fixACL');
 
                Contact::pruneUnavailable($allow_cid);