mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update device_vendor_function_edit.php
Fix a PHP warning.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user