Dotclear


Ignore:
Timestamp:
03/01/16 08:08:54 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.9
Message:

New array setting/pref are stored with 'array' type rather than 'string'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.namespace.php

    r3159 r3203  
    234234                    $type = $this->global_settings[$id]['type']; 
    235235               } else { 
    236                     $type = 'string'; 
     236                    if (is_array($value)) { 
     237                         $type = 'array'; 
     238                    } else { 
     239                         $type = 'string'; 
     240                    } 
    237241               } 
    238242          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map