summaryrefslogtreecommitdiff
path: root/bin/pe.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pe.pl')
-rwxr-xr-xbin/pe.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pe.pl b/bin/pe.pl
index 0ad58cf2..e44315ca 100755
--- a/bin/pe.pl
+++ b/bin/pe.pl
@@ -2520,6 +2520,7 @@ sub generate_sales_orders {
}
$order = new Form;
+ $order->{dbh} = $form->{dbh};
for (keys %{ $form->{order} }) {
for (qw(type vc defaultcurrency login)) { $order->{$_} = $form->{$_} }