From 1a25c8932eb4fe090d74dda17e824c42b249bc54 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 27 Jul 2020 14:50:14 -0600 Subject: [PATCH] Put the each column name on its own row. --- core/domains/domain_edit.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php index 4c99d3ef574..ec5fbac535b 100644 --- a/core/domains/domain_edit.php +++ b/core/domains/domain_edit.php @@ -528,7 +528,11 @@ //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 domain_uuid, domain_name, cast(domain_enabled as text), domain_description "; + $sql = "select "; + $sql .= "domain_uuid, "; + $sql .= "domain_name, "; + $sql .= "cast(domain_enabled as text), "; + $sql .= "domain_description "; $sql .= "from v_domains "; $sql .= "where domain_uuid = :domain_uuid "; $parameters['domain_uuid'] = $domain_uuid;