Skip to content
Permalink
Browse files

FIX Bad strpos call in HTTP::register_etag()

  • Loading branch information...
dhensby committed Sep 6, 2016
1 parent f4a6e9e commit e7ecf6cf15d4b3d4adaf0a415a5c4f9f2a15a003
Showing with 1 addition and 1 deletion.
  1. +1 −1 control/HTTP.php
@@ -302,7 +302,7 @@ public static function register_modification_timestamp($timestamp) {
}
public static function register_etag($etag) {
if (0 !== strpos('"')) {
if (0 !== strpos($etag, '"')) {
$etag = sprintf('"%s"', $etag);
}
self::$etag = $etag;

0 comments on commit e7ecf6c

Please sign in to comment.
You can’t perform that action at this time.