8000 Cast htmlentities to string · thephpleague/omnipay-common@f02c12a · GitHub
[go: up one dir, main page]

Skip to c 8000 ontent

Commit f02c12a

Browse files
committed
Cast htmlentities to string
1 parent a6d9eac commit f02c12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Message/AbstractResponse.php

Lines changed: 1 addition & 1 deletion
-
htmlentities($value, ENT_QUOTES, 'UTF-8', false)
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function getRedirectResponse()
215215
$hiddenFields .= sprintf(
216216
'<input type="hidden" name="%1$s" value="%2$s" />',
217217
htmlentities($key, ENT_QUOTES, 'UTF-8', false),
218
218+
htmlentities((string) $value, ENT_QUOTES, 'UTF-8', false)
219219
)."\n";
220220
}
221221

0 commit comments

Comments
 (0)
0