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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |ommunity.org

--- Comment #13 from Jonathan Druart <[email protected]> 
---
Ere, do not you think we should set the values only if passed, instead?

Like:

my $params = {
    id => $id,
    ( defined $foo ? foo => $foo : () ),
    ( defined $bar ? bar => $bar : () ),
};

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