[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins / zpip_v1 / z_options.php
index 0a3da6c..e5f7a31 100644 (file)
@@ -10,6 +10,9 @@ if (!defined("_ECRIRE_INC_VERSION")) return;
 if ($z = _request('var_zajax')) {\r
        if ($z_blocs = isset($GLOBALS['z_blocs'])?$GLOBALS['z_blocs']:array('contenu','navigation','extra','head')\r
          AND in_array($z,$z_blocs)) {\r
+               if (empty($GLOBALS['marqueur'])) {\r
+                       $GLOBALS['marqueur'] = "";\r
+               }\r
                $GLOBALS['marqueur'] .= "$z:";\r
                $GLOBALS['flag_preserver'] = true;\r
        }\r