http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14145

--- Comment #5 from M. Tompsett <mtomp...@hotmail.com> ---
Comment on attachment 38838
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38838
Bug 14145: Noisy warns in admin/preferences.pl

Review of attachment 38838:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14145&attachment=38838)
-----------------------------------------------------------------

::: admin/preferences.pl
@@ +46,4 @@
>      my $tab_template = C4::Templates::gettemplate( 'admin/preferences/' . 
> $tab . '.pref', 'intranet', $input );
>  
>      my $active_currency = GetCurrency();
> +    my $local_currency;;

Double ;;'s?

@@ +112,5 @@
>              sort { $a->{'text'} cmp $b->{'text'} }
>                map {
>                  my $option_value = $_;
>                  {
> +                    text     => $options{type}->{$option_value},

This works, because the $options{type} doesn't exist, so two undefs reduces the
list size by an even number for the failed grep too. There is no reason to
change 'multiple' to 'type'.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to