Commit 07a7c310 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 261993: fix uninitialized value error in webserver log when…

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.
parent 2811a5aa
...@@ -839,6 +839,7 @@ if (@bugidlist) { ...@@ -839,6 +839,7 @@ if (@bugidlist) {
$min_membercontrol{$bug_id} = $min_membercontrol; $min_membercontrol{$bug_id} = $min_membercontrol;
} }
foreach my $bug (@bugs) { foreach my $bug (@bugs) {
next unless defined($min_membercontrol{$bug->{'bug_id'}});
if ($min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPSHOWN if ($min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPSHOWN
|| $min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPDEFAULT) { || $min_membercontrol{$bug->{'bug_id'}} == CONTROLMAPDEFAULT) {
$bug->{'secure_mode'} = 'manual'; $bug->{'secure_mode'} = 'manual';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment