Skip to content

Commit 7129a85

Browse files
authored
switched the "if" notation
1 parent 6b05a34 commit 7129a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Mage/HTTP/Client/Curl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ protected function parseHeaders($ch, $data): int
440440
list($name, $value) = $out;
441441
}
442442

443-
if ('' !== $name) {
444-
if ('Set-Cookie' === $name) {
443+
if ($name !== '') {
444+
if ($name === 'Set-Cookie') {
445445
if (!isset($this->_responseHeaders[$name])) {
446446
$this->_responseHeaders[$name] = [];
447447
}

0 commit comments

Comments
 (0)