From f7892d0c5aafe746ea13b5ae8e6b000a12dc4990 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sat, 25 Oct 2014 09:16:20 +1000 Subject: [PATCH] A little note for later --- html/forms/rediscover-device.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/forms/rediscover-device.inc.php b/html/forms/rediscover-device.inc.php index 419fc65a77..23397f7d73 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";