PluginProbe
WP Directory Kit / 1.4.8
WP Directory Kit v1.4.8
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
← All changes | dash-widgets/dash-widgets-init.php +2 -0 1.2.3 → 1.4.8 View file →
@@ -205,8 +205,10 @@
205 205 {
206 206 //Fetch ALL dashboard widget options from the db...
207 207 $opts = get_option( 'dashboard_widget_options' );
208 208
209 + if(!$opts) $opts = array();
210 +
209 211 //Get just our widget's options, or set empty array
210 212 $w_opts = ( isset( $opts[$widget_id] ) ) ? $opts[$widget_id] : array();
211 213
212 214 if ( $add_only ) {