Ignore:
Timestamp:
Sep 19, 2010, 1:35:09 PM (11 years ago)
Author:
goya
Message:

taille photos solr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/solr/actions/actions.class.php

    r1330 r1389  
    9494      $this->results['docs'][$i]['titre'] = $obj->getTitre();
    9595      $this->results['docs'][$i]['personne'] = $obj->getPersonne();
    96       $this->results['docs'][$i]['highlighting'] = preg_replace('/^'.$this->results['docs'][$i]['personne'].'/', '', implode('...', $results['highlighting'][$res['id']]['text']));
     96      $this->results['docs'][$i]['highlighting'] = preg_replace('/^'."$this->results['docs'][$i]['personne']".'/', '', implode('...', $results['highlighting'][$res['id']]['text']));
    9797     
    9898    }
Note: See TracChangeset for help on using the changeset viewer.