summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/IC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm
index 090391dc..3132a8a7 100755
--- a/LedgerSMB/IC.pm
+++ b/LedgerSMB/IC.pm
@@ -640,7 +640,7 @@ sub retrieve_assemblies {
}
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'