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

--- Comment #1 from Owen Leonard <oleon...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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