Skip to content

Commit

Permalink
ACC: Quickfix to remove newlines from driver names
Browse files Browse the repository at this point in the history
  • Loading branch information
mauserrifle committed Mar 26, 2024
1 parent 1036763 commit affe4eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Simresults/Data/Reader/AssettoCorsaCompetizione.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ protected function readSessions()
$name .= ' '.$last_name;
}

// Quickfix: Remove new line
$name = str_replace("\n", ' ', $name);

$driver->setName(trim($name));

$driver->setDriverId($this->helper->arrayGet(
Expand Down

0 comments on commit affe4eb

Please sign in to comment.