Update dbinterface.class.php
This commit is contained in:
parent
f1cc0f1bf6
commit
b3fc62caa7
|
@ -71,12 +71,12 @@ class dbinterface
|
||||||
case 'phoneGrid':
|
case 'phoneGrid':
|
||||||
switch ($data['type']) {
|
switch ($data['type']) {
|
||||||
case "cisco-sip":
|
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");
|
FROM sccpdeviceconfig WHERE type LIKE '%-sip' ORDER BY name");
|
||||||
break;
|
break;
|
||||||
case "sccp": // Fall through to default intentionally
|
case "sccp": // Fall through to default intentionally
|
||||||
default:
|
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");
|
FROM sccpdeviceconfig WHERE type not LIKE '%-sip' ORDER BY name");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue