diff --git a/cron_domain_refresher.php b/cron_domain_refresher.php index 5cb9605e..23def65d 100644 --- a/cron_domain_refresher.php +++ b/cron_domain_refresher.php @@ -50,7 +50,6 @@ if ($row) { $domain_name = sanitizeInput($row['domain_name']); $current_expire = sanitizeInput($row['domain_expire']); - echo "Renewing $domain_name"; // Touch the record we're refreshing to ensure we don't loop mysqli_query($mysqli, "UPDATE domains SET domain_updated_at = NOW() WHERE domain_id = $domain_id"); diff --git a/post/domain.php b/post/domain.php index 1944cff6..e1a2d9ed 100644 --- a/post/domain.php +++ b/post/domain.php @@ -38,7 +38,7 @@ if (isset($_POST['add_domain'])) { $whois = sanitizeInput($records['whois']); // Add domain record - mysqli_query($mysqli,"INSERT INTO domains SET domain_name = '$name', domain_registrar = $registrar, domain_webhost = $webhost, domain_expire = $expire, domain_ip = '$a', domain_name_servers = '$ns', domain_mail_servers = '$mx', domain_txt = '$txt', domain_raw_whois = '$whois', domain_notes = '$notes', domain_client_id = $client_id") or die(mysqli_error($mysqli)); + mysqli_query($mysqli,"INSERT INTO domains SET domain_name = '$name', domain_registrar = $registrar, domain_webhost = $webhost, domain_expire = $expire, domain_ip = '$a', domain_name_servers = '$ns', domain_mail_servers = '$mx', domain_txt = '$txt', domain_raw_whois = '$whois', domain_notes = '$notes', domain_client_id = $client_id"); // Get inserted ID (for linking certificate, if exists) $domain_id = mysqli_insert_id($mysqli);