Lines 90-96
sub plugin_javascript {
Link Here
|
90 |
} |
90 |
} |
91 |
elsif ($autoBarcodeType eq 'EAN13') { |
91 |
elsif ($autoBarcodeType eq 'EAN13') { |
92 |
# not the best, two catalogers could add the same barcode easily this way :/ |
92 |
# not the best, two catalogers could add the same barcode easily this way :/ |
93 |
$query = "select max(abs(barcode)) from items"; |
93 |
my $query = "select max(abs(barcode)) from items"; |
94 |
my $sth = $dbh->prepare($query); |
94 |
my $sth = $dbh->prepare($query); |
95 |
$sth->execute(); |
95 |
$sth->execute(); |
96 |
while (my ($last)= $sth->fetchrow_array) { |
96 |
while (my ($last)= $sth->fetchrow_array) { |
97 |
- |
|
|