return $o;
}
- private static function fixACL(&$item) {
+ private static function fixACL(&$item)
+ {
$item = intval(str_replace(['<', '>'], ['', ''], $item));
}
$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);