Changeset 82598 in spip-zone


Ignore:
Timestamp:
May 19, 2014, 9:28:00 PM (5 years ago)
Author:
fil@…
Message:

dernier array() pour avoir une boucle SPHINX qui tourne sous SPIP 2.1

File:
1 edited

Legend:

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

    r82596 r82598  
    538538        $boucle->hash .= "\n\tif (!isset(\$facet_init)) { \$command['facet'] = array(); \$facet_init = true; }\n";
    539539
    540         $boucle->hash .= "\t\$command['facet'][] = [\n"
     540        $boucle->hash .= "\t\$command['facet'][] = array(\n"
    541541                . (isset($crit->param[0]) ? "\t\t'alias'  => ". calculer_liste($crit->param[0], array(), $boucles, $boucles[$idb]->id_parent) . ",\n" : '')
    542542                . (isset($crit->param[1]) ? "\t\t'query' => ". calculer_liste($crit->param[1], array(), $boucles, $boucles[$idb]->id_parent) . ",\n" : '')
    543                 . "\t];\n";
    544 }
    545 
    546 
     543                . "\t);\n";
     544}
    547545
    548546/**
Note: See TracChangeset for help on using the changeset viewer.