diff --git a/ajax.php b/ajax.php
index 2a251862..c36bf475 100644
--- a/ajax.php
+++ b/ajax.php
@@ -90,8 +90,8 @@ if (isset($_GET['domain_get_json_details'])) {
// Get domain history
$history_sql = mysqli_query($mysqli, "SELECT * FROM domain_history WHERE domain_history_domain_id = $domain_id");
- $history_html = "
";
- $history_html .= "| Date | Column | Old Value | New Value |
";
+ $history_html = "";
+ $history_html .= "| Date | Column | Old Value | New Value |
";
while ($row = mysqli_fetch_array($history_sql)) {
// Fetch data from the query and create table rows
$history_html .= "";
@@ -101,7 +101,7 @@ if (isset($_GET['domain_get_json_details'])) {
$history_html .= "| " . htmlspecialchars($row['domain_history_new_value']) . " | ";
$history_html .= "
";
}
- $history_html .= "
";
+ $history_html .= "
";
// Return the HTML content to JavaScript
$response['history'] = $history_html;