This commit is contained in:
bastianonm 2012-04-10 20:48:46 +00:00
parent 156ee72df1
commit 01a41563ef
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: maps, gpx, gps, graph, chart, google maps, highcharts, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate
Requires at least: 2.0.0
Tested up to: 3.3
Stable tag: 1.1.14
Stable tag: 1.1.15
License: GPLv2 or later
Draws a gpx track with altitude graph

View File

@ -159,7 +159,7 @@
if (isset($trkpt->extensions))
{
$_hr = $trkpt->extensions->xpath('gpxtpx:TrackPointExtension/gpxtpx:hr/text()');
$_hr = @$trkpt->extensions->xpath('gpxtpx:TrackPointExtension/gpxtpx:hr/text()');
if ($_hr)
{
foreach ($_hr as $node) {