Changeset 3159:a7553434ee4c for plugins/antispam
- Timestamp:
- 02/05/16 15:12:03 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/inc/class.dc.spamfilters.php
r2566 r3159 128 128 $this->core->blog->settings->antispam->drop('antispam_filters'); 129 129 } 130 $this->core->blog->settings->antispam->put('antispam_filters', serialize($opts),'string','Antispam Filters',true,$global);130 $this->core->blog->settings->antispam->put('antispam_filters',$opts,'array','Antispam Filters',true,$global); 131 131 } 132 132 … … 134 134 { 135 135 if ($this->core->blog->settings->antispam->antispam_filters !== null) { 136 $this->filters_opt = @unserialize($this->core->blog->settings->antispam->antispam_filters);136 $this->filters_opt = $this->core->blog->settings->antispam->antispam_filters; 137 137 } 138 138
Note: See TracChangeset
for help on using the changeset viewer.