Lines 229-235
sub SearchPrefs {
Link Here
|
229 |
our @terms = split( /\s+/, $searchfield ); |
229 |
our @terms = split( /\s+/, $searchfield ); |
230 |
|
230 |
|
231 |
foreach my $tab_name ( keys %tab_files ) { |
231 |
foreach my $tab_name ( keys %tab_files ) { |
232 |
my $data = GetTab( $input, $tab_name ); |
232 |
# Force list context to remove 'uninitialized value in goto' warn coming from YAML::Syck; note that the other GetTab call is in list context too. The actual cause however is the null value for the pref OpacRenewalBranch in opac.pref |
|
|
233 |
my ($data) = GetTab( $input, $tab_name ); |
233 |
my $title = ( keys( %$data ) )[0]; |
234 |
my $title = ( keys( %$data ) )[0]; |
234 |
my $tab = $data->{ $title }; |
235 |
my $tab = $data->{ $title }; |
235 |
$tab = { '' => $tab } if ( ref( $tab ) eq 'ARRAY' ); |
236 |
$tab = { '' => $tab } if ( ref( $tab ) eq 'ARRAY' ); |
236 |
- |
|
|