Lines 166-172
elsif ( $step && $step == 1 ) {
Link Here
|
166 |
; # Use a regular expression to check the value of the inputted branchcode |
166 |
; # Use a regular expression to check the value of the inputted branchcode |
167 |
|
167 |
|
168 |
#Create a new library object and store the branchcode and @fields array values in this new library object |
168 |
#Create a new library object and store the branchcode and @fields array values in this new library object |
169 |
my $library = Koha::Library->new( |
169 |
$library = Koha::Library->new( |
170 |
{ |
170 |
{ |
171 |
branchcode => $branchcode, |
171 |
branchcode => $branchcode, |
172 |
( map { $_ => scalar $input->param($_) || undef } @fields ) |
172 |
( map { $_ => scalar $input->param($_) || undef } @fields ) |
Lines 304-311
elsif ( $step && $step == 3 ) {
Link Here
|
304 |
my @messages; |
304 |
my @messages; |
305 |
my @errors; |
305 |
my @errors; |
306 |
my $nok = $input->param('nok'); |
306 |
my $nok = $input->param('nok'); |
307 |
my $firstpassword = $input->param('password'); |
|
|
308 |
my $secondpassword = $input->param('password2'); |
309 |
my $cardnumber = $input->param('cardnumber'); |
307 |
my $cardnumber = $input->param('cardnumber'); |
310 |
my $borrowernumber = $input->param('borrowernumber'); |
308 |
my $borrowernumber = $input->param('borrowernumber'); |
311 |
my $userid = $input->param('userid'); |
309 |
my $userid = $input->param('userid'); |