[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 21:43:49 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29040
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #124922|0 |1
is obsolete| |
--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 124942
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124942&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.
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list