diff --git a/start.php b/start.php index fe394b8..9425a2d 100644 --- a/start.php +++ b/start.php @@ -7,7 +7,7 @@ */ $uid = $_GET['uid']; - $length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? $_GET['length'] : 10; + $length = ($_GET['length'] && gettype($_GET['length']+0) == 'integer') ? $_GET['length'] : 10; echo gettype($length); ?>