summaryrefslogtreecommitdiff
path: root/bin/pe.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pe.pl')
-rwxr-xr-xbin/pe.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pe.pl b/bin/pe.pl
index 8d4c380c..2696317a 100755
--- a/bin/pe.pl
+++ b/bin/pe.pl
@@ -2552,7 +2552,7 @@ sub generate_sales_orders {
if (OE->save(\%myconfig, \%$order)) {
if (! PE->allocate_projectitems(\%myconfig, \%$order)) {
- OE->delete(\%myconfig, \%$order, $spool);
+ OE->delete(\%myconfig, \%$order, ${LedgerSMB::Sysconfig::spool});
}
} else {
$order->error($locale->text('Failed to save order!'));