projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
561fcb0
)
debugify a warn
author
Galen Charlton
<gmcharlt@gmail.com>
Sun, 6 Sep 2009 01:30:30 +0000
(21:30 -0400)
committer
Galen Charlton
<gmcharlt@gmail.com>
Sun, 6 Sep 2009 01:43:13 +0000
(21:43 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Labels/Label.pm
patch
|
blob
|
history
diff --git
a/C4/Labels/Label.pm
b/C4/Labels/Label.pm
index
26bdcf5
..
9cf5026
100644
(file)
--- a/
C4/Labels/Label.pm
+++ b/
C4/Labels/Label.pm
@@
-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;