[Koha-bugs] [Bug 29040] Uninitialized value warning in Languages.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 16 14:48:17 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29040

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 124922
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124922&action=edit
Bug 29040: Quiet ninitialized value warnings in Languages.pm

This patch makes a minor change to getTranslatedLanguages in
Languages.pm in order to quiet a warning shown when the "interface" and
"theme" variables are empty.

To test, apply the patch go to Administration -> Item types -> Edit
item type.

- Check the error log:
  tail /var/log/koha/kohadev/plack-intranet-error.log
- Before the patch you would see a warning, "Use of uninitialized value
  $interface in concatenation (.) or string at
  /kohadevbox/koha/C4/Languages.pm line 121."
- After the patch there should be no new warnings.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list