Permalink
Browse files

Merge branch 'ptfs-master' of github.com:pjones9/ptfs-master into ptf…

…s-master
  • Loading branch information...
ctfliblime committed Nov 8, 2011
2 parents bb28e8f + 3bd7709 commit c674bd3df415c058cb0fb210d1d344bb5d4b905d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/C4/Labels/Label.pm
View
@@ -461,7 +461,7 @@ sub draw_label_text {
$field_data =~ s/\)/\\\)/g;
}
else {
- $field_data = $$field{desc} || $$field{code};
+ $field_data = $$field{desc} || $$field{code} unless $field->{data} eq undef; ##fixes bug with unpopulated item fields where the desc/code is rendered in the labels.
}
eval{$Text::Wrap::columns = $self->{'text_wrap_cols'};};

0 comments on commit c674bd3

Please sign in to comment.