Changeset 30253 in spip-zone for _plugins_/SPIP-Genea


Ignore:
Timestamp:
Jul 27, 2009, 3:26:42 AM (11 years ago)
Author:
gilles.vincent@…
Message:

[30252] suite : split est deprecie en 5.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/SPIP-Genea/public/genea_criteres.php

    r19561 r30253  
    7373        $params = array_shift($params);
    7474        //$champs = ($params[0]->type = 'texte') ? calculer_liste(array($params[0]), array(), $boucles, $boucle->parent) :
    75         list($champs, $val) = split('[=]', $params[0]->texte);
     75        list($champs, $val) = explode('=', $params[0]->texte);
    7676        if (isset($params[1])) {
    7777                $val = "'".calculer_liste(array($params[1]), array(), $boucles, $boucle->parent)."'";
Note: See TracChangeset for help on using the changeset viewer.