diff options
Diffstat (limited to 'LedgerSMB/CP.pm')
-rwxr-xr-x | LedgerSMB/CP.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm index 9db05ce6..f3ff50fa 100755 --- a/LedgerSMB/CP.pm +++ b/LedgerSMB/CP.pm @@ -266,7 +266,7 @@ sub get_openinvoices { my $vth = $dbh->prepare($query); - my $spoolfile; + my ${LedgerSMB::Sysconfig::spool}file; while ($ref = $sth->fetchrow_hashref(NAME_lc)) { @@ -276,8 +276,8 @@ sub get_openinvoices { $vth->execute($ref->{id}); $ref->{queue} = ""; - while (($spoolfile) = $vth->fetchrow_array) { - $ref->{queued} .= "$form->{formname} $spoolfile "; + while ((${LedgerSMB::Sysconfig::spool}file) = $vth->fetchrow_array) { + $ref->{queued} .= "$form->{formname} ${LedgerSMB::Sysconfig::spool}file "; } $vth->finish; |