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; ?>