[Koha-bugs] [Bug 29040] Uninitialized value warning in Languages.pm
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 19 14:57:25 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29040
--- Comment #4 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 127866
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127866&action=edit
Bug 29040: Remove warning from the itemtype edit view
Use of uninitialized value $interface in concatenation (.) or string at
/kohadevbox/koha/C4/Languages.pm line 121.
We are expecting "intranet" or "opac", here we sent undef which raises a
warning.
For no change in behaviour we can send "both" (or whatever different
than "intranet" and "opac").
Test plan:
Hit /cgi-bin/koha/admin/itemtypes.pl?op=add_form&itemtype=BK
Notice that the warning does no longer appear in the logs with the patch
applied.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list