fixed issue when GPX file has only a timestamp on the first point. Added check if lastPoint->time exists.
fixed issue when GPX file has only a timestamp on the first point.
Added check if lastPoint->time exists.

Sibyx/phpGPX