diff --git a/app/devices/device_vendor_function_edit.php b/app/devices/device_vendor_function_edit.php index 2e99681f5d..5013403dff 100644 --- a/app/devices/device_vendor_function_edit.php +++ b/app/devices/device_vendor_function_edit.php @@ -217,15 +217,13 @@ $sql .= " v_groups as g "; $sql .= "where "; $sql .= " fg.group_uuid = g.group_uuid "; - //$sql .= " and fg.device_vendor_uuid = :device_vendor_uuid "; - $sql .= " and fg.device_vendor_uuid = '$device_vendor_uuid' "; - //$sql .= " and fg.device_vendor_function_uuid = :device_vendor_function_uuid "; - $sql .= " and fg.device_vendor_function_uuid = '$device_vendor_function_uuid' "; + $sql .= " and fg.device_vendor_uuid = :device_vendor_uuid "; + //$sql .= " and fg.device_vendor_uuid = '$device_vendor_uuid' "; + $sql .= " and fg.device_vendor_function_uuid = :device_vendor_function_uuid "; + //$sql .= " and fg.device_vendor_function_uuid = '$device_vendor_function_uuid' "; $sql .= "order by "; $sql .= " g.domain_uuid desc, "; $sql .= " g.group_name asc "; - //echo $sql; - //exit; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->bindParam(':device_vendor_uuid', $device_vendor_uuid); $prep_statement->bindParam(':device_vendor_function_uuid', $device_vendor_function_uuid);