From 71d9e3d89217f129316b2b2214435f774cf177a7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 21 Aug 2006 03:17:10 +0000 Subject: [PATCH] r1116: Fix a product/productid issue... yes, another one --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 7fa4ce7..a3fb558 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -547,9 +547,9 @@ function check_bug_permissions($bug, $userinfo = null) $bug['hidden'] AND ( - ($userinfo['userid'] == $bug['userid'] AND can_perform('canviewownhidden', $bug['productid'], $userinfo)) + ($userinfo['userid'] == $bug['userid'] AND can_perform('canviewownhidden', $bug['product'], $userinfo)) OR - can_perform('canviewhidden', $bug['productid'], $userinfo) + can_perform('canviewhidden', $bug['product'], $userinfo) ) ) OR -- 2.43.5