Permalink
Browse files

Fix post map type checkbox. Props RavanH.

  • Loading branch information...
benhuson committed Aug 24, 2012
1 parent fb6de74 commit 96d517968e65998b15213cb5872bcd041a5640eb
Showing with 2 additions and 2 deletions.
  1. +2 −2 includes/wp-geo.php
View
@@ -1330,8 +1330,8 @@ function wpgeo_location_inner_custom_box() {
if ( isset( $settings['type'] ) && ! empty( $settings['type'] ) ) {
$wpgeo_map_settings_type = $settings['type'];
$wpgeo_map_settings_type_checked = checked( true, true, false );
- } elseif ( $wp_geo_options['save_post_zoom'] == 'Y' ) {
- $wpgeo_map_settings_type = $wp_geo_options['save_post_zoom'];
+ } elseif ( $wp_geo_options['save_post_map_type'] == 'Y' ) {
+ $wpgeo_map_settings_type = $wp_geo_options['save_post_map_type'];
$wpgeo_map_settings_type_checked = checked( true, true, false );
}
if ( isset( $settings['centre'] ) && ! empty( $settings['centre'] ) ) {

0 comments on commit 96d5179

Please sign in to comment.