(bug workaround): Commented out some code that removes everything from

the list of branches the user can select.
Added some FIXME comments.
This commit is contained in:
arensb 2002-10-12 18:57:41 +00:00
parent 125a9fafcf
commit eb57e3b92a
1 changed files with 7 additions and 1 deletions

View File

@ -68,7 +68,13 @@ my $branchoptions;
my $printeroptions;
foreach (keys %$branches) {
(next) unless ($_);
(next) unless ($branches->{$_}->{'IS'});
# FIXME - What is this "IS" field? I suspect it's a leftover from
# some previous iteration of the code, and means "this is a branch
# that does issues". But it never gets set, so no branches ever
# get selected, and the user can't choose a branch.
# FIXME - Also, shouldn't librarians be able to select any branch,
# not just ones that handle issues?
# (next) unless ($branches->{$_}->{'IS'});
$branchcount++;
my $selected='';
($selected='selected') if ($_ eq $oldbranch);