From 4ea850edfc243a8664e04e1c526a005593c0e7ec Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 21 Aug 2006 00:43:15 +0000 Subject: [PATCH] r1112: Fixed another productid permissions thingy --- showreport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/showreport.php b/showreport.php index ced7bb5..3c5396b 100644 --- a/showreport.php +++ b/showreport.php @@ -296,7 +296,7 @@ else $vote['againstpercent'] = 0; } -$show['vote'] = ((can_perform('canvote', $bug['product']) AND !$vote['uservote']) ? true : false); +$show['vote'] = ((can_perform('canvote', $bug['productid']) AND !$vote['uservote']) ? true : false); // ------------------------------------------------------------------- // get comments -- 2.22.5