From 69ef0b730269b028b7dcc5c63ac8f686d27fbe22 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 2 Jan 2017 19:59:23 -0700 Subject: [PATCH] Update device_vendor_functions.php --- app/devices/device_vendor_functions.php | 32 +++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/app/devices/device_vendor_functions.php b/app/devices/device_vendor_functions.php index 6833f47517..f8ca29a03a 100644 --- a/app/devices/device_vendor_functions.php +++ b/app/devices/device_vendor_functions.php @@ -1,4 +1,28 @@ + Portions created by the Initial Developer are Copyright (C) 2016-2017 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Mark J Crane +*/ //includes require_once "root.php"; @@ -121,10 +145,10 @@ $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 = '".$row['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 = '".$row['device_vendor_function_uuid']."' "; $sql .= "order by "; $sql .= " g.domain_uuid desc, "; $sql .= " g.group_name asc ";