Refactor VerificationAnswerImageCaptcha to ensure answer parameter is cast to string before processing
https://github.com/nosial/Socialbox-PHP/issues/75
This commit is contained in:
parent
4cdabf6603
commit
7ec1125b3f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
|
||||
try
|
||||
{
|
||||
$result = CaptchaManager::answerCaptcha($session->getPeerUuid(), $rpcRequest->getParameter('answer'));
|
||||
$result = CaptchaManager::answerCaptcha($session->getPeerUuid(), (string)$rpcRequest->getParameter('answer'));
|
||||
|
||||
if($result)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue