From 89865a64a4563e89b70dc22c0958a760b26aba3f Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 24 Jan 2014 03:01:08 +0000 Subject: [PATCH] Fix the device settings on the on demand provisioning. --- app/provision/index.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/provision/index.php b/app/provision/index.php index 0797250487..46451854b8 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -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);