diff --git a/core/domain_settings/domains_edit.php b/core/domain_settings/domains_edit.php index c387f6cfa5..862ce7a9b7 100644 --- a/core/domain_settings/domains_edit.php +++ b/core/domain_settings/domains_edit.php @@ -137,7 +137,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //pre-populate the form if (count($_GET)>0 && $_POST["persistformvar"] != "true") { - $domain_uuid = $_GET["id"]; $sql = "select * from v_domains "; $sql .= "where domain_uuid = '$domain_uuid' "; $prep_statement = $db->prepare(check_sql($sql)); @@ -165,7 +164,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "
| Domain | \n"; - echo "\n"; + echo " | \n"; + if (permission_exists('domain_export')) { + echo " \n"; + } + echo " \n"; + echo " | \n"; echo "
| \n"; | ||