From 720bcfa61d955b847512d312b923eb2244997fcb Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 14 Apr 2010 04:40:16 +0000 Subject: [PATCH] BUGFIX: batch_permission_check returns null rather than empty array when user has no permissions (from r99443) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102863 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index bec3732b3..dcc70f56f 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1121,7 +1121,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid }*/ return $combinedStageResult; } else { - array(); + return array(); } }