From b3fc62caa79fd30f29d9eddac3decf7a89745ae0 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Wed, 4 Aug 2021 13:22:42 +0200 Subject: [PATCH] Update dbinterface.class.php --- sccpManClasses/dbinterface.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sccpManClasses/dbinterface.class.php b/sccpManClasses/dbinterface.class.php index 25fd292..60b7a0b 100644 --- a/sccpManClasses/dbinterface.class.php +++ b/sccpManClasses/dbinterface.class.php @@ -71,12 +71,12 @@ class dbinterface case 'phoneGrid': switch ($data['type']) { case "cisco-sip": - $stmts = $this->db->prepare("SELECT name, type, button, addon, description, 'not connected' AS status, '- -' AS address + $stmts = $this->db->prepare("SELECT name, type, button, addon, description, 'not connected' AS status, '- -' AS address, 'N' AS new_hw FROM sccpdeviceconfig WHERE type LIKE '%-sip' ORDER BY name"); break; case "sccp": // Fall through to default intentionally default: - $stmts = $this->db->prepare("SELECT name, type, button, addon, description, 'not connected' AS status, '- -' AS address + $stmts = $this->db->prepare("SELECT name, type, button, addon, description, 'not connected' AS status, '- -' AS address, 'N' AS new_hw FROM sccpdeviceconfig WHERE type not LIKE '%-sip' ORDER BY name"); break; }