Skip to content

Commit

Permalink
Removing warning when we are installing
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Canga committed Jul 30, 2015
1 parent ad8b285 commit 80825ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/widgets/visibility/Widget_Conditions.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ public static function widget_update( $instance, $new_instance, $old_instance )
public static function sidebars_widgets( $widget_areas ) {
$settings = array();

if( empty($widget_areas)) return array();
foreach ( $widget_areas as $widget_area => $widgets ) {
if ( empty( $widgets ) )
continue;
Expand Down

0 comments on commit 80825ed

Please sign in to comment.