You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to parse a GPX file with only a timestamp on the firstpoint there will be an error.
I fixed the issue in the file Models/Segment.php with a check for the var $lastPoint->time
I changed line 100 from: if (isset($firstPoint->time) && $firstPoint->time instanceof \DateTime) {
TO if (isset($firstPoint->time) && isset($lastPoint->time) && $firstPoint->time instanceof \DateTime) {
The text was updated successfully, but these errors were encountered:
When you try to parse a GPX file with only a timestamp on the firstpoint there will be an error.
I fixed the issue in the file Models/Segment.php with a check for the var $lastPoint->time
I changed line 100 from:
if (isset($firstPoint->time) && $firstPoint->time instanceof \DateTime) {
TO
if (isset($firstPoint->time) && isset($lastPoint->time) && $firstPoint->time instanceof \DateTime) {
The text was updated successfully, but these errors were encountered: