diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-08-03 18:59:21 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-08-03 18:59:21 +0000 |
commit | a68e3e4e78cd1bb7efe35a39d0fdd376f60e2fae (patch) | |
tree | 9472dde5e6fd03c54374e2f6402c3159b765475b | |
parent | 3b71d81c4377fd421c8b9a7dba97b37fbe704e64 (diff) |
Fixing get_my_emp_num API call to remove redundant argument.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1453 4979c152-3d1c-0410-bac9-87ea11338e46
-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!"); |