Correction de la fct de recherche dans le repo group

This commit is contained in:
rookiered 2016-01-11 18:26:58 +01:00
parent 3c22cecc94
commit f5a7298921
1 changed files with 5 additions and 2 deletions

View File

@ -538,10 +538,13 @@ class groupRepo{
FROM utilisateur
WHERE nom LIKE :a
OR prenom LIKE :b
OR prenom = :mot
OR nom = :mot
ORDER BY identifiant, prenom, nom ASC");
$statement->execute(array(
':a' => '%'.$keyword.'%',
':b' => '%'.$keyword.'%'
':a' => '%'.$keyword.'%',
':b' => '%'.$keyword.'%',
':mot' => $keyword
));
return DataBase::delNumeric( $statement->fetchAll() );