Skip to content

Commit

Permalink
Update LastUpdatesParser.php
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir authored Jun 30, 2021
1 parent 86e3fed commit a0c1797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser/User/Profile/LastUpdatesParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private function parseBaseListUpdates(string $updateType): array
$progressed = $progress[1] ?? null;
$total = $progress[2] ?? null;

preg_match('~([a-zA-Z\s]+)~', $progressTypeValueUnparsed, $status);
preg_match('~([a-zA-Z\s\-]+)~', $progressTypeValueUnparsed, $status);
$status = $status[1] ?? null;

if ($status !== null) {
Expand Down

0 comments on commit a0c1797

Please sign in to comment.