From 3edc7f077bf873a4ea6fc386d60919a894c99d55 Mon Sep 17 00:00:00 2001 From: Jean Paul Galea Date: Mon, 18 Apr 2016 16:15:11 +0200 Subject: [PATCH] Make it clear that default will be a string digit. - since getHttpVal casts to string anyway. --- ykval-verify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykval-verify.php b/ykval-verify.php index c4b7216..6ac1c99 100644 --- a/ykval-verify.php +++ b/ykval-verify.php @@ -100,7 +100,7 @@ $myLog->log(LOG_DEBUG, "found protocol version $protocol_version"); */ $h = getHttpVal('h', ''); $client = getHttpVal('id', '0'); -$timestamp = getHttpVal('timestamp', 0); +$timestamp = getHttpVal('timestamp', '0'); $otp = getHttpVal('otp', ''); $otp = strtolower($otp);