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

SF.net SVN: ledger-smb: [1356] branches/1.2/LedgerSMB/IC.pm



Revision: 1356
          http://svn.sourceforge.net/ledger-smb/?rev=1356&view=rev
Author:   tetragon
Date:     2007-07-09 11:37:39 -0700 (Mon, 09 Jul 2007)

Log Message:
-----------
Fixing 1750653

Modified Paths:
--------------
    branches/1.2/LedgerSMB/IC.pm

Modified: branches/1.2/LedgerSMB/IC.pm
===================================================================
--- branches/1.2/LedgerSMB/IC.pm	2007-07-09 02:21:21 UTC (rev 1355)
+++ branches/1.2/LedgerSMB/IC.pm	2007-07-09 18:37:39 UTC (rev 1356)
@@ -640,7 +640,7 @@
     }
 
     if ( $form->{description} ne "" ) {
-        my $description = $dbh->( $form->like( lc $form->{description} ) );
+        my $description = $dbh->quote( $form->like( lc $form->{description} ) );
         $where .= " AND lower(p.description) LIKE $description";
     }
     $where .= qq| AND p.obsolete = '0'


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