diff options
Diffstat (limited to 'LedgerSMB/IC.pm')
-rwxr-xr-x | LedgerSMB/IC.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm index fb9bf3bf..c6bd908f 100755 --- a/LedgerSMB/IC.pm +++ b/LedgerSMB/IC.pm @@ -770,7 +770,7 @@ sub restock_assemblies { my ($self, $myconfig, $form) = @_; # connect to database - my $dbh = $form->dbconnect_noauto($myconfig); + my $dbh = $form->{dbh}; for my $i (1 .. $form->{rowcount}) { $form->{"qty_$i"} = $form->parse_amount( |