debugify a warn
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
561fcb09e6
commit
056152e142
1 changed files with 2 additions and 3 deletions
|
@ -205,9 +205,8 @@ sub _get_barcode_data {
|
|||
elsif ( $f =~ /^($match_kohatable).*/ ) {
|
||||
if ($item->{$f}) {
|
||||
$datastring .= $item->{$f};
|
||||
}
|
||||
else {
|
||||
warn sprintf("The '%s' field contains no data.", $f);
|
||||
} else {
|
||||
$debug and warn sprintf("The '%s' field contains no data.", $f);
|
||||
}
|
||||
$f = $';
|
||||
next FIELD_LIST;
|
||||
|
|
Loading…
Reference in a new issue