From: Sven Schöling Date: Fri, 7 Jul 2006 13:11:24 +0000 (+0000) Subject: Fix zu Bug374 X-Git-Tag: release-2.4.0^2~260 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b38bf0551f996051e7c34946fb4efaee68663fbb;p=kivitendo-erp.git Fix zu Bug374 --- diff --git a/SL/LICENSES.pm b/SL/LICENSES.pm index 25b4d66ee..ce1e799d6 100644 --- a/SL/LICENSES.pm +++ b/SL/LICENSES.pm @@ -127,7 +127,7 @@ sub search { if ($form->{"customer_name"}) { $f .= " AND " if ($f); $f .= - "(customer_id IN (SELECT id FROM customer WHERE name ILIKE " + "(l.customer_id IN (SELECT id FROM customer WHERE name ILIKE " . $dbh->quote('%' . $form->{"customer_name"} . '%') . "))"; }