Changeset 82375 in spip-zone


Ignore:
Timestamp:
May 15, 2014, 9:09:25 AM (5 years ago)
Author:
fil@…
Message:

probleme de namespace sur PDO::FETCH_ASSOC

Location:
_plugins_/indexer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/inc/indexer.php

    r82369 r82375  
    11<?php
     2
     3if (!defined('_ECRIRE_INC_VERSION')) return;
    24
    35// Charge les classes possibles de l'indexer
  • _plugins_/indexer/trunk/lib/Sphinx/SphinxQL.php

    r82374 r82375  
    5656                if ($docs = $this->query($query)) {
    5757                        $meta = $this->query('SHOW meta');
    58                         $liste['docs'] = $docs->fetchAll(PDO::FETCH_ASSOC);
    59                         $liste['meta'] = $this->parseMeta($meta->fetchAll(PDO::FETCH_ASSOC));
     58                        $liste['docs'] = $docs->fetchAll(\PDO::FETCH_ASSOC);
     59                        $liste['meta'] = $this->parseMeta($meta->fetchAll(\PDO::FETCH_ASSOC));
    6060                }
    6161
Note: See TracChangeset for help on using the changeset viewer.