Skip to content

Commit 50f9250

Browse files
author
okarpenko
committed
MAGETWO-33074: Upgrade response class
- fix integration tests
1 parent 85f86dd commit 50f9250

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/HTTP/PhpEnvironment

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/HTTP/PhpEnvironment/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function clearHeader($name)
109109
$headers = $this->getHeaders();
110110
if ($headers->has($name)) {
111111
foreach ($headers as $header) {
112-
if (strtolower($header->getFieldName()) == $name) {
112+
if (strtolower($header->getFieldName()) == strtolower($name)) {
113113
$headers->removeHeader($header);
114114
}
115115
}

0 commit comments

Comments
 (0)