Dotclear


Ignore:
Timestamp:
03/01/16 08:08:54 (10 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.workspace.php

    r3159 r3203  
    237237                    $type = $this->global_prefs[$id]['type']; 
    238238               } else { 
    239                     $type = 'string'; 
     239                    if (is_array($value)) { 
     240                         $type = 'array'; 
     241                    } else { 
     242                         $type = 'string'; 
     243                    } 
    240244               } 
    241245          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map