Merge pull request #64 from creative-commoners/pulls/3/php82
ENH PHP 8.2 compatibility
This commit is contained in:
commit
a9133931d8
|
@ -15,7 +15,7 @@ class IFramePageController extends PageController
|
|||
$desiredProtocol = $this->ForceProtocol;
|
||||
if ($desiredProtocol && $currentProtocol !== $desiredProtocol) {
|
||||
$enforcedLocation = preg_replace(
|
||||
"#^${currentProtocol}#",
|
||||
"#^{$currentProtocol}#",
|
||||
$desiredProtocol ?? '',
|
||||
$this->AbsoluteLink() ?? ''
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue