Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 77b480a

Browse files
author
Billy Clark
committed
Incorporated PR feedback
1 parent d1a57c0 commit 77b480a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/material/default/selectidp-links.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function setSelectedIdp(id) {
1010
var idpInput = document.createElement('input');
1111

1212
idpInput.type = 'hidden';
13-
idpInput.name = '<?= htmlentities($this->data['returnIDParam']) ?>';
13+
idpInput.name = <?= json_encode($this->data['returnIDParam'], JSON_HEX_TAG) ?>;
1414
idpInput.value = id;
1515

1616
document.querySelector('form').appendChild(idpInput);

0 commit comments

Comments
 (0)