projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 4877 [ENH] - Update man page for koha-create
[koha_fer]
/
members
/
maninvoice.pl
diff --git
a/members/maninvoice.pl
b/members/maninvoice.pl
index
f804e52
..
9e8d429
100755
(executable)
--- a/
members/maninvoice.pl
+++ b/
members/maninvoice.pl
@@
-45,7
+45,10
@@
if ($add){
if(checkauth($input)) {
# print $input->header;
my $barcode=$input->param('barcode');
if(checkauth($input)) {
# print $input->header;
my $barcode=$input->param('barcode');
- my $itemnum = GetItemnumberFromBarcode($barcode) if $barcode;
+ my $itemnum;
+ if ($barcode) {
+ $itemnum = GetItemnumberFromBarcode($barcode);
+ }
my $desc=$input->param('desc');
my $amount=$input->param('amount');
my $type=$input->param('type');
my $desc=$input->param('desc');
my $amount=$input->param('amount');
my $type=$input->param('type');