mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
A little note for later
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user