]> git.mxchange.org Git - friendica.git/commitdiff
Fix notice message when $return is undefined in Core\ACL
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 14 Sep 2019 00:06:22 +0000 (20:06 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 14 Sep 2019 00:06:22 +0000 (20:06 -0400)
src/Core/ACL.php

index ec31ddb7cdc965803add2692a8b182d1a74ed57a..e4de02589ade5b8d8acd26d1faa7c332fb08d30b 100644 (file)
@@ -360,6 +360,6 @@ class ACL extends BaseObject
                        }
                }
 
-               return defaults($return, []);
+               return $return ?? [];
        }
 }