Changeset 125335 in spip-zone


Ignore:
Timestamp:
Jun 29, 2020, 2:34:58 PM (5 months ago)
Author:
Cerdic
Message:

eviter une fatale si charger() a renvoye une erreur sous forme de string

Location:
_plugins_/pages/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/pages/trunk

    • Property subgit:lock:60619e1574e4ee13831911662be5c6b3ed20fd45 deleted
    • Property subgit:lock:24fe3fbf1678f6587413b4abbf2779f218aa3311 set to 2020-06-30T16:01:16.769
  • _plugins_/pages/trunk/pages_pipelines.php

    r124836 r125335  
    107107function pages_formulaire_charger($flux) {
    108108        // Si on est dans l'édition d'un article
    109         if (is_array($flux) and $flux['args']['form'] == 'editer_article') {
     109        if (is_array($flux) and is_array($flux['data']) and $flux['args']['form'] == 'editer_article') {
    110110                // Si on est dans un article de modele page
    111111                if (_request('modele') == 'page' or ($flux['data']['page'] and _request('modele') != 'article')) {
  • _plugins_/pages/trunk/paquet.xml

    r124937 r125335  
    22        prefix="pages"
    33        categorie="divers"
    4         version="1.5.2"
     4        version="1.5.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.