Dotclear


Ignore:
Timestamp:
02/05/16 15:12:03 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use new setting type 'array' for some settings, addresses #1833

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/actions/class.dcactioncomments.php

    r3047 r3159  
    143143          $ip_filter_active = true; 
    144144          if ($core->blog->settings->antispam->antispam_filters !== null) { 
    145                $filters_opt = @unserialize($core->blog->settings->antispam->antispam_filters); 
     145               $filters_opt = $core->blog->settings->antispam->antispam_filters; 
    146146               if (is_array($filters_opt)) { 
    147147                    $ip_filter_active = isset($filters_opt['dcFilterIP']) && is_array($filters_opt['dcFilterIP']) && $filters_opt['dcFilterIP'][0]==1; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map