diff --git a/control/HTTP.php b/control/HTTP.php index 76c068027..3b9cdf2e5 100644 --- a/control/HTTP.php +++ b/control/HTTP.php @@ -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;