Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 6c9518f

Browse files
committed
Fix 1.fit from @OlafvdSpek
1 parent 4169c6f commit 6c9518f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phpFITFileAnalysis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ private function fixData($options)
16091609
}
16101610

16111611
// Remove duplicate timestamps
1612-
if (isset($this->data_mesgs['record']['timestamp'])) {
1612+
if (isset($this->data_mesgs['record']['timestamp']) && is_array($this->data_mesgs['record']['timestamp'])) {
16131613
$this->data_mesgs['record']['timestamp'] = array_unique($this->data_mesgs['record']['timestamp']);
16141614
}
16151615

0 commit comments

Comments
 (0)