Skip to content

Commit 76cca3f

Browse files
committed
fix: Delete checking *.*
1 parent 159e44d commit 76cca3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/Negotiate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ protected function getBestLocaleMatch(array $supportedLocales, ?string $header):
227227
}
228228

229229
// if acceptable value is "anything", return the first available
230-
if ($accept['value'] === '*' || $accept['value'] === '*/*') {
230+
if ($accept['value'] === '*') {
231231
return $supportedLocales[0];
232232
}
233233

0 commit comments

Comments
 (0)