[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1453] trunk



Revision: 1453
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1453&view=rev
Author:   einhverfr
Date:     2007-08-03 11:59:21 -0700 (Fri, 03 Aug 2007)

Log Message:
-----------
Fixing get_my_emp_num API call to remove redundant  argument.

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm
    trunk/pos.conf.pl

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2007-08-03 18:58:24 UTC (rev 1452)
+++ trunk/LedgerSMB/Form.pm	2007-08-03 18:59:21 UTC (rev 1453)
@@ -850,7 +850,7 @@
 =cut
 
 sub get_my_emp_num {
-    my ( $self, $myconfig, $form ) = @_;
+    my ( $self, $myconfig) = @_;
     %myconfig = %{$myconfig};
     my $dbh = $form->{dbh};
 

Modified: trunk/pos.conf.pl
===================================================================
--- trunk/pos.conf.pl	2007-08-03 18:58:24 UTC (rev 1452)
+++ trunk/pos.conf.pl	2007-08-03 18:59:21 UTC (rev 1453)
@@ -81,7 +81,7 @@
 }
 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!");


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.