Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug with manually specifying GPS coordinates.

  • Loading branch information...
commit e520b6c42f6de6a5b9d30b19fa609a02bc50e177 1 parent 9df36d6
rWatcher authored talmdal committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/exif_gps/helpers/exif_gps_event.php
2  modules/exif_gps/helpers/exif_gps_event.php
View
@@ -73,7 +73,7 @@ static function item_edit_form_completed($item, $form) {
// Require a set of coordinates (both latitude and longitude).
// If one or both fields are blank, completely delete any coordinates associated with this item.
- if (($form->edit_item->latitude->value == "") || ($form->edit_item->longitude->value == "")) {
+ if (($form->edit_item->gps_data->latitude->value == "") || ($form->edit_item->gps_data->longitude->value == "")) {
db::build()
->delete("exif_coordinates")
->where("item_id", "=", $item->id)
Please sign in to comment.
Something went wrong with that request. Please try again.