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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124922|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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