Browse Source

Fixed bug that occurs when no branch information is entered (Bug #467)

3.0.x
wolfpac444 21 years ago
parent
commit
ac14b50092
  1. 4
      admin/branches.pl

4
admin/branches.pl

@ -282,7 +282,9 @@ sub branchinfotable {
for my $field ('branchaddress1', 'branchaddress2', 'branchaddress3',
'branchphone', 'branchfax', 'branchemail') {
$row{$field} = $branch->{$field};
$address_empty_p = 0;
if ( $branch->{$field} ) {
$address_empty_p = 0;
}
}
$row{'address-empty-p'} = $address_empty_p;
# {{{ Leave this here until bug 180 is completely resolved in templates

Loading…
Cancel
Save