Scrut fix

This commit is contained in:
laf
2015-08-30 15:09:54 -07:00
parent e4fd45037c
commit 0f9ac4afd1
+1
View File
@@ -436,6 +436,7 @@ function get_dev_entity_state($device) {
}
function get_dev_attrib($device, $attrib_type, $attrib_value='') {
$sql = '';
$params = array($device['device_id'], $attrib_type);
if (!empty($attrib_value)) {
$sql = " AND `attrib_value`=?";