This commit is contained in:
bastianonm 2012-04-12 16:23:14 +00:00
parent 04d99ebd50
commit 34ae53c75c
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,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) {
@ -170,7 +170,7 @@
}
}
$_cad = $trkpt->extensions->xpath('gpxtpx:TrackPointExtension/gpxtpx:cad/text()');
$_cad = @$trkpt->extensions->xpath('gpxtpx:TrackPointExtension/gpxtpx:cad/text()');
if ($_cad)
{
foreach ($_cad as $node) {