We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257c341 commit 7a93d4bCopy full SHA for 7a93d4b
includes/admin/feedzy-rss-feeds-options.php
@@ -48,7 +48,10 @@ public static function instance() {
48
* Init the default values of the options class.
49
*/
50
public function init() {
51
- self::$instance->options = get_option( Feedzy_Rss_Feeds::get_plugin_name() );
+ self::$instance->options = get_option( Feedzy_Rss_Feeds::get_plugin_name(), array() );
52
+ if ( ! is_array( self::$instance->options ) ) {
53
+ self::$instance->options = array();
54
+ }
55
}
56
57
/**
0 commit comments