Plugin Directory

Changeset 211906


Ignore:
Timestamp:
03/01/2010 04:20:34 PM (16 years ago)
Author:
geraint
Message:

fix unserialized array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • file-proxy/trunk/com/twothirdsdesign/core/gcp_options.php

    r210743 r211906  
    88class GcpOptions
    99{
    10     const VERSION = '1.0.1';
     10    const VERSION = '1.0.2';
    1111    protected $options_key = 'ttd_plugin_options';
    1212    protected $_options = array(
     
    2626        {
    2727            // tries to create a cache from wordpress DB options table.// uses plugin preset options not in db
    28             $this->_optioncache =  get_option( $this->options_key );
     28            $this->_optioncache =  unserialize( get_option( $this->options_key, NULL ));
    2929            if (!$this->_optioncache) $this->_optioncache = $this->_options;
    3030        }
Note: See TracChangeset for help on using the changeset viewer.