From e7ecf6cf15d4b3d4adaf0a415a5c4f9f2a15a003 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Tue, 6 Sep 2016 23:32:57 +0100 Subject: [PATCH] FIX Bad strpos call in HTTP::register_etag() --- control/HTTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/HTTP.php b/control/HTTP.php index 611132683..3e3f39345 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;