Skip to content

Commit 625a845

Browse files
authored
Merge pull request #284 from silinternational/fix-idp-1249
Release 10.1.2 -- null coalesce to prevent a type error
2 parents 6664fdc + 223713e commit 625a845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/expirychecker/public/about2expire.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
);
4242

4343
$returnTo = Utilities::getUrlFromRelayState(
44-
$state['saml:RelayState']
44+
$state['saml:RelayState'] ?? ''
4545
);
4646
if (!empty($returnTo)) {
4747
$passwordChangeUrl .= '?returnTo=' . $returnTo;

modules/expirychecker/public/expired.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
);
3535

3636
$returnTo = Utilities::getUrlFromRelayState(
37-
$state['saml:RelayState']
37+
$state['saml:RelayState'] ?? ''
3838
);
3939
if (!empty($returnTo)) {
4040
$passwordChangeUrl .= '?returnTo=' . $returnTo;

0 commit comments

Comments
 (0)