merge remote
This commit is contained in:
xdrm-brackets 2016-01-12 12:11:47 +01:00
commit 6225908449
1 changed files with 5 additions and 2 deletions

View File

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