Merge pull request #114 from waldermort/patch-2

Fix: Numeric bypass code defaults to integer type
This commit is contained in:
Grégoire Passault 2015-01-13 14:42:45 +01:00
commit f20fc3c3b7

View File

@ -60,7 +60,7 @@ class CaptchaValidator
$this->session = $session;
$this->key = $key;
$this->invalidMessage = $invalidMessage;
$this->bypassCode = $bypassCode;
$this->bypassCode = (string)$bypassCode;
$this->humanity = $humanity;
}