diff options
-rw-r--r-- | LedgerSMB/Form.pm | 2 | ||||
-rw-r--r-- | pos.conf.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index a00fb32b..3a4787fe 100644 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -850,7 +850,7 @@ This function is currently (2007-08-02) only used by pos.conf.pl. =cut sub get_my_emp_num { - my ( $self, $myconfig, $form ) = @_; + my ( $self, $myconfig) = @_; %myconfig = %{$myconfig}; my $dbh = $form->{dbh}; diff --git a/pos.conf.pl b/pos.conf.pl index 63fb68ad..a4356a43 100644 --- a/pos.conf.pl +++ b/pos.conf.pl @@ -81,7 +81,7 @@ if ( lc( $pos_config{'till_type'} ) eq 'terminal' ) { } elsif ( lc( $pos_config{'till_type'} ) eq 'cashier' ) { use LedgerSMB::User; - $pos_config{'till'} = $form->get_my_emp_num( \%myconfig, \%$form ); + $pos_config{'till'} = $form->get_my_emp_num(\%myconfig); } else { $form->error("No till type defined in pos.conf.pl!"); |