Changeset 113939 in spip-zone for _plugins_/crayons/trunk


Ignore:
Timestamp:
Feb 16, 2019, 4:26:16 PM (6 months ago)
Author:
real3t@…
Message:

Tentative de correction d'un Warning: Illegal string offset 'lang' in /var/www/alternc/site/plugins/auto/crayons/v1.26.18/crayons_fonctions.php on line 173 signalé par Étienne

Location:
_plugins_/crayons/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/crayons/trunk/crayons_fonctions.php

    r105388 r113939  
    171171         */
    172172        if (!isset($GLOBALS['forcer_lang']) or !$GLOBALS['forcer_lang'] or ($GLOBALS['forcer_lang'] === 'non')) {
    173                 lang_select($GLOBALS['auteur_session']['lang']);
     173                if (isset($GLOBALS['auteur_session']) and isset($GLOBALS['auteur_session']['lang'])) {
     174                        lang_select($GLOBALS['auteur_session']['lang']);
     175                }
    174176        }
    175177
  • _plugins_/crayons/trunk/paquet.xml

    r111449 r113939  
    22        prefix="crayons"
    33        categorie="edition"
    4         version="1.26.18"
     4        version="1.26.19"
    55        etat="stable"
    66        compatibilite="[1.9.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.