Merge branch 'MDL-81353-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user