From bf0ecaa0951080fd9bd7af2960eada5a64d7690e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 28 Jun 2007 15:15:33 +0000 Subject: [PATCH] r1561: Removing the accidential "A" put in check_bug_permissions() that I now just realized causes an error --- docs/changes.txt | 1 + includes/functions.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 2c3ba15..b345c45 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -3,6 +3,7 @@ - Fixed: In userctrl_search.tpl, the floated elements need to be before unfloated ones otherwise Gecko engine offsets it by a line - Fixed: Closed a SQL injection vector in register.php - Fixed: Users could not vote against a bug due to too tight sanitization (bug://report/84) +- Fixed: A "call to undefined function A()" would be thrown under some occasions when viewing a bug 1.2.0 Release Candidate 1 =============================== diff --git a/includes/functions.php b/includes/functions.php index b3f7a71..e2c9309 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -630,7 +630,7 @@ function check_bug_permissions($bug, $userinfo = null) ( $bug['hidden'] AND - (A + ( ($userinfo['userid'] == $bug['userid'] AND can_perform('canviewownhidden', $bug['product'], $userinfo)) OR can_perform('canviewhidden', $bug['product'], $userinfo) -- 2.22.5