mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
[4.5] Use INT instead of NUMERIC (#5311)
This commit is contained in:
committed by
GitHub
parent
6aabdea144
commit
d7881b7dc5
@@ -99,7 +99,7 @@
|
||||
$sql .= "when 'programmable' then 3 ";
|
||||
$sql .= "when 'expansion' then 4 ";
|
||||
$sql .= "else 100 END, ";
|
||||
$sql .= "cast(device_key_id as numeric) asc ";
|
||||
$sql .= "cast(device_key_id as int) asc ";
|
||||
$parameters['device_uuid'] = $device_uuid;
|
||||
$database = new database;
|
||||
$device_keys = $database->select($sql, $parameters, 'all');
|
||||
|
||||
Reference in New Issue
Block a user