Skip to content

Commit

Permalink
Put the each column name on its own row.
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Jul 27, 2020
1 parent cd8b608 commit 1a25c89
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/domains/domain_edit.php
Expand Up @@ -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;
Expand Down

0 comments on commit 1a25c89

Please sign in to comment.