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

--- Comment #10 from Fridolin Somers <[email protected]> ---
(In reply to Fridolin Somers from comment #7)
> Maybe add an early return q{} if itemtypecode is undefined,
> to avoid warning in concatenation :
> my $cache_key    = $want_parent ?
> "Itemtype_parent_description:".$itemtypecode : "Itemtype_description:" .
> $itemtypecode;

I've added this.
And also a write of empty string in cache when item type is not found.
I signed first patch.

Added a unit test for Koha::Template::Plugin::ItemTypes.
This needs SO.

Best regards,
Run Koha, run ... ^^

-- 
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