summaryrefslogtreecommitdiff
path: root/LedgerSMB/CP.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/CP.pm')
-rwxr-xr-xLedgerSMB/CP.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm
index 68499753..695708a5 100755
--- a/LedgerSMB/CP.pm
+++ b/LedgerSMB/CP.pm
@@ -268,7 +268,7 @@ sub get_openinvoices {
my $vth = $dbh->prepare($query);
- my ${LedgerSMB::Sysconfig::spool}file;
+ my $spoolfile;
while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
@@ -278,8 +278,8 @@ sub get_openinvoices {
$vth->execute($ref->{id});
$ref->{queue} = "";
- while ((${LedgerSMB::Sysconfig::spool}file) = $vth->fetchrow_array) {
- $ref->{queued} .= "$form->{formname} ${LedgerSMB::Sysconfig::spool}file ";
+ while (($spoolfile) = $vth->fetchrow_array) {
+ $ref->{queued} .= "$form->{formname} $spoolfile ";
}
$vth->finish;