[Koha-bugs] [Bug 21842] always test Koha::ItemType in defined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 27 09:10:22 CET 2018


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

--- Comment #9 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
(In reply to M. Tompsett from comment #5)
> Shouldn't the values be set to SOMETHING even if itemtype is undefined?
> 
> $foo->{key} = defined $bar ? $bar->baz : q{};
> and
> $foo{key} = defined $bar ? $bar->baz : q{};
> 
> Feel free to switch back to needs sign off after answering/fixing this.

Very good point.
I have changed the patches.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list