summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-09-30 07:37:17 +0200
committerjocuri%softhome.net <>2004-09-30 07:37:17 +0200
commit07a7c31096126989b09bf1254580a0a21ed9ab9b (patch)
treee938b3d4d5676631181b6a8d2a02ff9fcb42f6aa
parent2811a5aab1325e60ac453e9161bda7cb213190fe (diff)
downloadbugzilla-07a7c31096126989b09bf1254580a0a21ed9ab9b.tar.gz
bugzilla-07a7c31096126989b09bf1254580a0a21ed9ab9b.tar.xz
Patch for bug 261993: fix uninitialized value error in webserver log when accessing buglist.cgi (generated by the fix for bug 255512); patch by Marc Schumann <wurblzap@gmail.com>; r=justdave, a=myk.
-rwxr-xr-xbuglist.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 3c5e73255..3379aa70a 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -839,6 +839,7 @@ if (@bugidlist) {
$min_membercontrol{$bug_id} = $min_membercontrol;
}
foreach my $bug (@bugs) {
+ next unless defined($min_membercontrol{$bug->{'bug_id'}});
if ($min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPSHOWN
|| $min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPDEFAULT) {
$bug->{'secure_mode'} = 'manual';