Commit 706d1a7ef36e4cb8d64f178bec75a88c204102f1

Authored by Alex Savenko
1 parent 27cce764

fix like

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
src/lib/models/customers.php
@@ -1296,11 +1296,10 @@ class customers extends \db @@ -1296,11 +1296,10 @@ class customers extends \db
1296 SELECT * FROM 1296 SELECT * FROM
1297 public.customers 1297 public.customers
1298 WHERE 1298 WHERE
1299 - name LIKE %:like% 1299 + name LIKE \'%'.$like.'%\'
1300 ' 1300 '
1301 , 1301 ,
1302 [ 1302 [
1303 - 'like' => $like  
1304 ], 1303 ],
1305 -1 1304 -1
1306 ); 1305 );