remove extra ?

This commit is contained in:
Isaac Connor 2016-12-08 15:53:38 -05:00
parent c8009baf3f
commit 7c84e2417d
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ switch ( $_REQUEST['task'] )
$limit = 100;
if ( isset($_POST['limit']) ) {
if ( ( !is_integer( $_POST['limit'] ) and !ctype_digit($_POST['limit']) ) ) {
Error("Invalid value for limit " . ?$_POST['limit'] );
Error("Invalid value for limit " . $_POST['limit'] );
} else {
$limit = $_POST['limit'];
}