Skip to content

Commit 3446a1e

Browse files
committed
MAGETWO-52923: Switching to Varnish causes category menu to force HTTPS links
- Add Whitespace, Syntax
1 parent 0d254a4 commit 3446a1e

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ private function getSSLOffloadHeader()
428428
{
429429

430430
// Lets read from db only one time okay.
431-
if ($this->SSLOffloadHeader === null){
431+
if ($this->SSLOffloadHeader === null) {
432432

433433
/* TODO: Untangle Config dependence on Scope, so that this class can be instantiated even if app is not
434434
installed MAGETWO-31756 */
@@ -438,7 +438,8 @@ private function getSSLOffloadHeader()
438438
self::XML_PATH_OFFLOADER_HEADER,
439439
\Magento\Framework\App\Config\ScopeConfigInterface::SCOPE_TYPE_DEFAULT
440440
)
441-
); }
441+
);
442+
}
442443

443444
return $this->SSLOffloadHeader;
444445

0 commit comments

Comments
 (0)