Changeset 966388
- Timestamp:
- 08/15/2014 02:19:29 PM (12 years ago)
- Location:
- map-contact/trunk
- Files:
-
- 3 edited
-
admin/map_addresses.php (modified) (2 diffs)
-
map-contact.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
map-contact/trunk/admin/map_addresses.php
r963052 r966388 57 57 $row = $wpdb->get_var("SELECT $element FROM ".$wpdb->prefix."map_settings WHERE id='".$id."'"); 58 58 59 if (@mysql_fetch_array($result) !== false && !empty($id) && !empty($element) && !empty($value))59 if (@mysql_fetch_array($result) !== false && !empty($id) && !empty($element)) 60 60 { 61 $wpdb->query("UPDATE ".$wpdb->prefix."map_addresses SET $element='".$value."' WHERE id='".$id."'"); 61 if ($element=="image") 62 { 63 if (!empty($value)) 64 { 65 $wpdb->query("UPDATE ".$wpdb->prefix."map_addresses SET $element='".$value."' WHERE id='".$id."'"); 66 } 67 } 68 else 69 { 70 $wpdb->query("UPDATE ".$wpdb->prefix."map_addresses SET $element='".$value."' WHERE id='".$id."'"); 71 } 62 72 } 63 73 } … … 97 107 $address = get_object_vars($address); 98 108 99 if ( !empty($address["image"]) &&$imported==false)109 if ($imported==false) 100 110 { 101 111 wp_enqueue_script('jquery'); -
map-contact/trunk/map-contact.php
r963048 r966388 6 6 Plugin URI: http://wordpress.org/plugins/map-contact/ 7 7 Author URI: http://xantoo.com/ 8 Version: 3.0. 18 Version: 3.0.2 9 9 */ 10 10 -
map-contact/trunk/readme.txt
r963048 r966388 58 58 = 59 59 60 = 3.0.2 - 15/08/2014 = 61 * Minor address updating issues and bugs! 62 60 63 = 3.0.1 - 09/08/2014 = 61 64 * Minor uploading bug fixes
Note: See TracChangeset
for help on using the changeset viewer.