mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-02 11:39:19 +01:00
Cast Number settings as integer instead of float
This commit is contained in:
parent
5db549fe5e
commit
6fab74368f
@ -86,7 +86,7 @@ private function replaceBoolean($value)
|
||||
*/
|
||||
private function restoreType($value)
|
||||
{
|
||||
$value = is_numeric($value) ? (float) $value : $value;
|
||||
$value = is_numeric($value) ? (int) $value : $value;
|
||||
|
||||
if( $value === '{{}}' ) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user