/trunk/services/modules/Recherche.php |
---|
406,7 → 406,6 |
if (preg_match('/^"(.*)"$/', $valeur, $match)) { |
$valeur = '%'.$match[1].'%'; |
} elseif ($valeur == "#") { |
$valeur = 1; |
}else{ |
// Recherche de mots non liés |
$mots = explode(' ', $valeur); |
465,7 → 464,7 |
// Construire where en fonction des paramêtres |
if (isset($p['mots'])) { |
if ($p['mots'] == "#") { |
if (stripos($p['mots'], "#") == 1) { |
$where .= "1"; |
} else { |
$where .= 'AND ('. |