/trunk/papyrus/applettes/moteur_recherche/moteur_recherche_sphinx.php |
---|
108,7 → 108,7 |
$content = array(); |
while($rec = $req->fetchRow(DB_FETCHMODE_ASSOC)) { |
$rec['url_simple'] = $rec['url'] = sprintf("%s?id_projet=%d", |
trim($GLOBALS['_MOTEUR_RECHERCHE_']['projet']['url'], '/'), |
trim($GLOBALS['_MOTEUR_RECHERCHE_']['projet'][0]['url'], '/'), |
$rec['id']); |
$rec['description'] = substr(strip_tags($rec['p_description']), 0, 400 + 2 * MORE_RESULTAT_TAILLE_DESCRIPTION); |
unset($rec['p_description']); |