mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Cast domain_enabled to text
This commit is contained in:
@@ -528,7 +528,8 @@
|
||||
|
||||
//pre-populate the form (admin won't have domain_add permissions, but domain_uuid will already be set above)
|
||||
if ((count($_GET) > 0 || (!permission_exists('domain_add') && $domain_uuid != '')) && $_POST["persistformvar"] != "true") {
|
||||
$sql = "select * from v_domains ";
|
||||
$sql = "select domain_uuid, domain_name, cast(domain_enabled as text), domain_description ";
|
||||
$sql .= "from v_domains ";
|
||||
$sql .= "where domain_uuid = :domain_uuid ";
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
$database = new database;
|
||||
@@ -698,4 +699,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user