diff --git a/html/forms/rediscover-device.inc.php b/html/forms/rediscover-device.inc.php index 419fc65a7..23397f7d7 100644 --- a/html/forms/rediscover-device.inc.php +++ b/html/forms/rediscover-device.inc.php @@ -12,6 +12,8 @@ * the source code distribution for details. */ +// FIXME: Make this part of the API instead of a standalone function + if(!is_numeric($_POST['device_id'])) { $status = "error"; $message = "Invalid device id";