From: Moritz Bunkus Date: Wed, 22 Nov 2006 16:36:13 +0000 (+0000) Subject: Recommit von r1165 von sschoeling: Fix zu Bug374 X-Git-Tag: release-2.4.0^2~205 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=81e3d28e3f248c4ae79017bd5cddbf8e322d327a;p=kivitendo-erp.git Recommit von r1165 von sschoeling: 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"} . '%') . "))"; }