mirror of
https://github.com/silverstripe/silverstripe-mathspamprotection
synced 2024-10-22 08:05:52 +02:00
ce700643f5
problem: loose comparison with == -> Null = "0" solved: strict comparison with === -> Null = false new session with $v1 = 0 and $v2 = 0 did lead to true answer with actually no answer given (Null -> "0") 0 + 0 = 0 -> true ref: https://www.php.net/manual/en/types.comparisons.php |
||
---|---|---|
.. | ||
MathSpamProtector.php | ||
MathSpamProtectorField.php |