From 1a81ed86160c7926ab00551799cbd4cd3dfb10d6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 13 Sep 2019 20:06:22 -0400 Subject: [PATCH] Fix notice message when $return is undefined in Core\ACL --- src/Core/ACL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?? []; } } -- 2.39.5