Changeset 82605 in spip-zone


Ignore:
Timestamp:
May 20, 2014, 8:24:05 AM (5 years ago)
Author:
fil@…
Message:

utiliser l'API correctement, sinon prive de snippets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/iterateur/sphinx.php

    r82599 r82605  
    271271                }
    272272
    273                 $desc['phrase'] = $this->queryApi->get_snippet_words($desc['phrase']);
     273                $this->queryApi->add_snippet_words( $desc['phrase'] );
     274                $desc['phrase'] = $this->queryApi->get_snippet_words();
    274275
    275276                if (!$desc['phrase'] OR !$desc['champ']) {
Note: See TracChangeset for help on using the changeset viewer.