From 4d2202563c4300f539b4ea666568bfc48e039a9d Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 8 Jul 2011 07:52:48 +0000 Subject: [PATCH] fix fatal error: unsupported operand type in resources_ui line 428; reported on community tracker#3006 --- resources/inc/class.bo_acl.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/inc/class.bo_acl.inc.php b/resources/inc/class.bo_acl.inc.php index c3a11632f3..504128fc67 100755 --- a/resources/inc/class.bo_acl.inc.php +++ b/resources/inc/class.bo_acl.inc.php @@ -108,7 +108,7 @@ class bo_acl $perm_cats[$cat['id']] = $s; } } - return $perm_cats; + return isset($perm_cats)?$perm_cats:array(); }