mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Bad strpos call in HTTP::register_etag()
This commit is contained in:
parent
f4a6e9e517
commit
e7ecf6cf15
@ -302,7 +302,7 @@ class HTTP {
|
||||
}
|
||||
|
||||
public static function register_etag($etag) {
|
||||
if (0 !== strpos('"')) {
|
||||
if (0 !== strpos($etag, '"')) {
|
||||
$etag = sprintf('"%s"', $etag);
|
||||
}
|
||||
self::$etag = $etag;
|
||||
|
Loading…
x
Reference in New Issue
Block a user