[Koha-bugs] [Bug 28567] Pick-up location is not saved correctly when creating a new library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 25 12:29:28 CEST 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com
         Depends on|                            |16154
             Status|NEW                         |ASSIGNED
           Assignee|koha-bugs at lists.koha-commun |jonathan.druart+koha at gmail.
                   |ity.org                     |com

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
  commit f3e4b5bbb6b02d7bb6e89d84c0379666eb1e704f
  Bug 16154: CGI->multi_param - Force scalar context


124         my $library = Koha::Library->new(
125             {   branchcode => $branchcode,
126                 ( map { $_ => scalar $input->param($_) || undef } @fields )
127             }
128         );


Branches.pickup_location has a default = 1 in DB. We should not set to undef if
0.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16154
[Bug 16154] Replace CGI->param with CGI->multi_param in list context
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list