diff options
Diffstat (limited to 'bin/arap.pl')
-rwxr-xr-x | bin/arap.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/arap.pl b/bin/arap.pl index 4f3c61c1..64c544a0 100755 --- a/bin/arap.pl +++ b/bin/arap.pl @@ -615,9 +615,9 @@ sub schedule { } - if (%printer && ${LedgerSMB::Sysconfig::latex} && %formname) { + if (%{LedgerSMB::Sysconfig::printer} && ${LedgerSMB::Sysconfig::latex} && %formname) { $selectprinter = qq|<option>\n|; - for (sort keys %printer) { $selectprinter .= qq|<option value="$_">$_\n| } + for (sort keys %{LedgerSMB::Sysconfig::printer}) { $selectprinter .= qq|<option value="$_">$_\n| } # formname:format:printer @p = split /:/, $form->{recurringprint}; |