mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 09:52:42 +02:00
Merge branch 'MDL-81353-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
c14e75a017
@ -276,9 +276,9 @@ final class cookie_helper {
|
||||
bool $casesensitive): bool {
|
||||
|
||||
if ($casesensitive) {
|
||||
return str_contains($headerstring, $attribute);
|
||||
return strpos($headerstring, $attribute) !== false;
|
||||
}
|
||||
return str_contains(strtolower($headerstring), strtolower($attribute));
|
||||
return strpos(strtolower($headerstring), strtolower($attribute)) !== false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user