Fix fatal error in particular cases

This commit is contained in:
bastianonm 2018-03-15 21:11:18 +00:00
parent 297238152d
commit fc03515cc1
3 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: maps, gpx, gps, graph, chart, google maps, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence
Requires at least: 2.0.0
Tested up to: 4.9.4
Stable tag: 1.5.02
Stable tag: 1.5.03
Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map.
@ -153,6 +153,8 @@ Yes!
1. Altitude & Speed & Hearth rate
== Changelog ==
= 1.5.03 =
* fix random error
= 1.5.02 =
* Security improvements
= 1.5.01 =

View File

@ -3,7 +3,7 @@
Plugin Name: WP-GPX-Maps
Plugin URI: http://www.devfarm.it/
Description: Draws a GPX track with altitude chart
Version: 1.5.02
Version: 1.5.03
Author: Bastianon Massimo
Author URI: http://www.devfarm.it/
*/

View File

@ -1,5 +1,7 @@
<?php
require_once(ABSPATH . 'wp-admin/includes/file.php');
require_once("wp-gpx-maps_utils_nggallery.php");
function wpgpxmaps_getAttachedImages($dt, $lat, $lon, $dtoffset, &$error)