A little note for later

This commit is contained in:
Paul Gear
2014-10-25 09:16:20 +10:00
parent b5136b444c
commit f7892d0c5a

View File

@@ -12,6 +12,8 @@
* the source code distribution for details. * the source code distribution for details.
*/ */
// FIXME: Make this part of the API instead of a standalone function
if(!is_numeric($_POST['device_id'])) { if(!is_numeric($_POST['device_id'])) {
$status = "error"; $status = "error";
$message = "Invalid device id"; $message = "Invalid device id";