Changeset 43851 in spip-zone


Ignore:
Timestamp:
Jan 24, 2011, 8:05:51 PM (8 years ago)
Author:
patfr@…
Message:

Eviter un warning 'strlen'...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/couteau_suisse/cout_options.php

    r42658 r43851  
    194194        static $rand;
    195195        if($stat) $rand = $stat;
     196        if (!is_string($variable)) $variable = var_export($variable, true);
    196197        if(!defined('_LOG_CS') /*|| !defined('_CS_REPORTALL')*/ || !strlen($variable)) return;
    197         if (!is_string($variable)) $variable = var_export($variable, true);
    198198        spip_log($variable = $rand.$prefixe.$variable);
    199199        if (defined('_CS_REPORTALL')) echo '<br />',htmlentities($variable);
Note: See TracChangeset for help on using the changeset viewer.