From f4aed7a27ee294baf5755db927c0971e12bc9d06 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 27 Mar 2017 14:29:06 +0200 Subject: [PATCH] T1703271429 --- start.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start.php b/start.php index 9425a2d..e11f768 100644 --- a/start.php +++ b/start.php @@ -7,8 +7,9 @@ */ $uid = $_GET['uid']; - $length = ($_GET['length'] && gettype($_GET['length']+0) == 'integer') ? $_GET['length'] : 10; + $length = ($_GET['length'] && gettype($_GET['length']+1) == 'integer') ? $_GET['length'] : 10; echo gettype($length); + echo $length; ?>