From 25b2c2498c43f1af762a9d82d34482990f93f263 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Aug 2006 16:43:02 +0000 Subject: [PATCH] r1043: Fixing more warning issues if no products exist --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index f31cb25..c389bd7 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -412,7 +412,7 @@ function fetch_on_bits($mask, $userinfo = null) $usergroupid = $userinfo['usergroupid']; - if ($bugsys->datastore['usergroup']["$usergroupid"]['permissions'] & $bugsys->permissions["$mask"]) + if ($bugsys->datastore['usergroup']["$usergroupid"]['permissions'] & $bugsys->permissions["$mask"] AND is_array($bugsys->datastore['product'])) { foreach ($bugsys->datastore['product'] AS $id => $product) { -- 2.43.5