From: Hypolite Petovan Date: Sat, 14 Sep 2019 00:06:22 +0000 (-0400) Subject: Fix notice message when $return is undefined in Core\ACL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a81ed86160c7926ab00551799cbd4cd3dfb10d6;p=friendica.git Fix notice message when $return is undefined in Core\ACL --- diff --git a/src/Core/ACL.php b/src/Core/ACL.php index ec31ddb7cd..e4de02589a 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -360,6 +360,6 @@ class ACL extends BaseObject } } - return defaults($return, []); + return $return ?? []; } }