From 33bad032ff8d764826087fae7b9da516d7c779b0 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 27 Mar 2017 14:30:19 +0200 Subject: [PATCH] T1703271430 --- start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.php b/start.php index e11f768..d555058 100644 --- a/start.php +++ b/start.php @@ -7,8 +7,8 @@ */ $uid = $_GET['uid']; - $length = ($_GET['length'] && gettype($_GET['length']+1) == 'integer') ? $_GET['length'] : 10; - echo gettype($length); + $length = ($_GET['length'] && gettype($_GET['length']) == 'integer') ? $_GET['length'] : 10; + echo gettype($_GET['length']); echo $length; ?>