Lines 167-172
System Pref options.
Link Here
|
167 |
# |
167 |
# |
168 |
sub barcodedecode { |
168 |
sub barcodedecode { |
169 |
my ($barcode, $filter) = @_; |
169 |
my ($barcode, $filter) = @_; |
|
|
170 |
|
171 |
return unless defined $barcode; |
172 |
|
170 |
my $branch = C4::Context::mybranch(); |
173 |
my $branch = C4::Context::mybranch(); |
171 |
$barcode =~ s/^\s+|\s+$//g; |
174 |
$barcode =~ s/^\s+|\s+$//g; |
172 |
$filter = C4::Context->preference('itemBarcodeInputFilter') unless $filter; |
175 |
$filter = C4::Context->preference('itemBarcodeInputFilter') unless $filter; |