Skip to content

Commit af0606d

Browse files
Update system/Common.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent 4609810 commit af0606d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ function force_https(int $duration = 31536000, RequestInterface $request = null,
451451
{
452452
$baseURL = (string) substr($baseURL, strlen('https://'));
453453
}
454-
else if (strpos($baseURL, 'http://') === 0)
454+
elseif (strpos($baseURL, 'http://') === 0)
455455
{
456456
$baseURL = (string) substr($baseURL, strlen('http://'));
457457
}

0 commit comments

Comments
 (0)