Fix the device settings on the on demand provisioning.

This commit is contained in:
Mark Crane 2014-01-24 03:01:08 +00:00
parent 6c8c9becd8
commit 89865a64a4
1 changed files with 0 additions and 2 deletions

View File

@ -247,9 +247,7 @@ require_once "resources/require.php";
//get the device settings table in the provision category and update the provision array
$sql = "SELECT * FROM v_device_settings ";
$sql .= "WHERE device_uuid = '".$device_uuid."' ";
$sql .= "AND device_setting_category = 'provision' ";
$sql .= "AND device_setting_enabled = 'true' ";
$sql .= "AND domain_uuid = '".$domain_uuid."' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);