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

SF.net SVN: ledger-smb: [1765] trunk/LedgerSMB/Form.pm



Revision: 1765
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1765&view=rev
Author:   einhverfr
Date:     2007-10-15 16:26:20 -0700 (Mon, 15 Oct 2007)

Log Message:
-----------
Form update for get_name

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2007-10-15 22:31:23 UTC (rev 1764)
+++ trunk/LedgerSMB/Form.pm	2007-10-15 23:26:20 UTC (rev 1765)
@@ -1674,7 +1674,7 @@
 		$where
 		ORDER BY e.name|;
 
-    unshift( @queryargs, $name, $name, $table );
+    unshift( @queryargs, $name, $self->like($self->{"${table}number"}) );
     my $sth = $self->{dbh}->prepare($query);
 
     $sth->execute(@queryargs) || $self->dberror($query);


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