From 405a335ffbfeb6e02ae924e9cc012416fe087e76 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 13 Jan 2025 11:10:34 -0700 Subject: [PATCH] Removed domain_enabled to fix a bug for those using BDR An issue occurs if the domain_enabled data type was text rather than boolean. The upgrade schema data types will correct the data type except when using BDR. The alter table for changing data types doesn't work because of BDR. --- app/devices/device_edit.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 4a02b8762f..d8b670a1fb 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -537,7 +537,6 @@ //get device lines $sql = "select * "; $sql .= "from v_domains "; - $sql .= "where domain_enabled = true "; $sql .= "order by domain_name asc "; $domains = $database->select($sql, null, 'all'); unset($sql, $parameters);