Changeset 117732 in spip-zone


Ignore:
Timestamp:
Sep 6, 2019, 4:36:47 PM (2 months ago)
Author:
maieul@…
Message:

bons noms de variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/saisies/trunk/inc/saisies_afficher_si_php.php

    r117731 r117732  
    115115function saisies_afficher_si_get_valeur_champ($champ, $env) {
    116116        if (preg_match_all("#config:(.*)#", $champ, $matches, PREG_SET_ORDER)) {
    117                 foreach ($matches as $plugin) {
    118                         $arobase = $plugin[0];
    119                         $config_a_tester = str_replace(":", "/", $plugin[1]);
     117                foreach ($matches as $config) {
     118                        $arobase = $config[0];
     119                        $config_a_tester = str_replace(":", "/", $config[1]);
    120120                        $champ = lire_config($config_a_tester);
    121121                }
Note: See TracChangeset for help on using the changeset viewer.