Update device_vendor_function_edit.php

Fix a PHP warning.
This commit is contained in:
FusionPBX
2017-01-02 20:03:58 -07:00
committed by GitHub
parent 0c4f66680a
commit 5c089f7529

View File

@@ -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);