backport fix firstname autocomplete search
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 8 May 2007 13:20:09 +0000 (13:20 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 8 May 2007 13:20:09 +0000 (13:20 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1807 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/search.php

index 5b1c5a8..74228be 100644 (file)
@@ -219,7 +219,7 @@ class SearchModule extends PLModule
             $field = '`entreprise`';
             $unique='`uid`';
             break;
-          case '`firstname`':
+          case 'firstname':
             $field = '`prenom`';
             $q = '(^|[ \\-])'.$q;
             $beginwith = false;