Lines 81-87
if (!C4::Context->userenv){
Link Here
|
81 |
my $barcodes = []; |
81 |
my $barcodes = []; |
82 |
my $barcode = $query->param('barcode'); |
82 |
my $barcode = $query->param('barcode'); |
83 |
# Barcode given by user could be '0' |
83 |
# Barcode given by user could be '0' |
84 |
if ( $barcode or defined $barcode and $barcode eq '0' ) { |
84 |
if ( $barcode || ( defined($barcode) && $barcode eq '0' ) ) { |
85 |
$barcodes = [ $barcode ]; |
85 |
$barcodes = [ $barcode ]; |
86 |
} else { |
86 |
} else { |
87 |
my $filefh = $query->upload('uploadfile'); |
87 |
my $filefh = $query->upload('uploadfile'); |
Lines 167-173
my $duedatespec = $query->param('duedatespec') || $session->param('stickydu
Link Here
|
167 |
$duedatespec = eval { output_pref( { dt => dt_from_string( $duedatespec ), dateformat => 'iso' }); } |
167 |
$duedatespec = eval { output_pref( { dt => dt_from_string( $duedatespec ), dateformat => 'iso' }); } |
168 |
if ( $duedatespec ); |
168 |
if ( $duedatespec ); |
169 |
my $restoreduedatespec = $query->param('restoreduedatespec') || $session->param('stickyduedate') || $duedatespec; |
169 |
my $restoreduedatespec = $query->param('restoreduedatespec') || $session->param('stickyduedate') || $duedatespec; |
170 |
if ($restoreduedatespec and $restoreduedatespec eq "highholds_empty") { |
170 |
if ( $restoreduedatespec && $restoreduedatespec eq "highholds_empty" ) { |
171 |
undef $restoreduedatespec; |
171 |
undef $restoreduedatespec; |
172 |
} |
172 |
} |
173 |
my $issueconfirmed = $query->param('issueconfirmed'); |
173 |
my $issueconfirmed = $query->param('issueconfirmed'); |
174 |
- |
|
|