Changeset 7574 for contributed_modules/modules
- Timestamp:
- 04/07/09 10:03:01 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contributed_modules/modules/chan_sccp/functions.inc.php
r7573 r7574 52 52 function chan_sccp_list() { 53 53 global $db; 54 $sql = "SELECT id, mac, ext, type FROM sccp_mac ORDER BY mac "; 54 55 $sql = "SELECT id, mac, ext, type 56 FROM sccp_mac 57 ORDER BY ext"; 58 55 59 $results = $db->getAll($sql, DB_FETCHMODE_ASSOC); 56 60 if(DB::IsError($results)) { … … 62 66 function chan_sccp_get($chan_sccp_id) { 63 67 global $db; 64 $sql = "SELECT id, mac, ext, type, speeds FROM sccp_mac WHERE id = " . (int) $chan_sccp_id; 68 69 $sql = "SELECT id, mac, ext, type, speeds 70 FROM sccp_mac 71 WHERE id = " . (int) $chan_sccp_id; 72 65 73 $row = $db->getRow($sql, DB_FETCHMODE_ASSOC); 66 74 if(DB::IsError($row)) {
