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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 22 04:38:15 CET 2018


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion
                 CC|                            |mtompset at hotmail.com

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
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.

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


More information about the Koha-bugs mailing list