Resolved some security issues

This commit is contained in:
laf
2016-06-02 06:56:45 +00:00
parent 16b91f6a97
commit db0e1ca203
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ if (is_array($config['branding'])) {
}
}
if (isset($_GET['device'])) {
if (is_numeric($_GET['device']) && isset($_GET['device'])) {
$where = 'WHERE device_id = '.mres($_GET['device']);
}
else {