[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1130] branches/1.2/LedgerSMB/OE.pm
- Subject: SF.net SVN: ledger-smb: [1130] branches/1.2/LedgerSMB/OE.pm
- From: ..hidden..
- Date: Sun, 06 May 2007 10:54:44 -0700
Revision: 1130
http://svn.sourceforge.net/ledger-smb/?rev=1130&view=rev
Author: einhverfr
Date: 2007-05-06 10:54:44 -0700 (Sun, 06 May 2007)
Log Message:
-----------
Fixing bug 1708011
Modified Paths:
--------------
branches/1.2/LedgerSMB/OE.pm
Modified: branches/1.2/LedgerSMB/OE.pm
===================================================================
--- branches/1.2/LedgerSMB/OE.pm 2007-05-06 17:32:01 UTC (rev 1129)
+++ branches/1.2/LedgerSMB/OE.pm 2007-05-06 17:54:44 UTC (rev 1130)
@@ -171,8 +171,9 @@
}
if ( $form->{$ordnumber} ne "" ) {
- $query .= " AND lower(?) LIKE ?";
- push @queryargs, $ordnumber, $number;
+ $ordnumber = ($ordnumber eq 'ordnumber') ? 'ordnumber' : 'quonumber';
+ $query .= " AND lower($ordnumber) LIKE ?";
+ push @queryargs, $number;
$form->{open} = 1;
$form->{closed} = 1;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.