Plugin Directory

Changeset 221227


Ignore:
Timestamp:
03/24/2010 10:20:51 AM (16 years ago)
Author:
geraint
Message:
 
File:
1 edited

Legend:

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

    r213213 r221227  
    2626        {
    2727            // tries to create a cache from wordpress DB options table.// uses plugin preset options not in db
    28             $this->_optioncache = unserialize( get_option( $this->options_key , false ));
     28            $this->_optioncache = get_option( $this->option_key ) !== false ? unserialize( get_option( $this->options_key , '' )) : false;
    2929            if (!$this->_optioncache) $this->_optioncache = $this->_options;
    3030        }
Note: See TracChangeset for help on using the changeset viewer.