Update device_vendor_function_edit.php

Fix a PHP warning.
This commit is contained in:
FusionPBX 2017-01-02 20:03:14 -07:00 committed by GitHub
parent 86b17a986f
commit 96afdfb809
1 changed files with 4 additions and 6 deletions

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