Skip to content

Commit

Permalink
Fix for the Empty map save error
Browse files Browse the repository at this point in the history
  • Loading branch information
juanvillegas committed May 9, 2014
1 parent 334d4c3 commit e4475fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/options_store.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if( isset( $_POST['s2_stripe_map_trigger'] ) ){
$updated = $_POST['s2_stripe'];

if( ! empty( $current ) ){
if( ! empty( $current ) && is_array( $updated ) ){
$updated = array_merge( $current, $updated );
}

Expand Down

0 comments on commit e4475fe

Please sign in to comment.