mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Fix domain edit for .eu and other domains.
This commit is contained in:
@@ -70,15 +70,13 @@ if (isset($_POST['edit_domain'])) {
|
||||
$registrar = intval($_POST['registrar']);
|
||||
$webhost = intval($_POST['webhost']);
|
||||
$expire = sanitizeInput($_POST['expire']);
|
||||
if (empty($expire)) {
|
||||
$expire = "NULL";
|
||||
} else {
|
||||
$expire = "'" . $expire . "'";
|
||||
}
|
||||
$client_id = intval($_POST['client_id']);
|
||||
|
||||
// Update domain expiry date
|
||||
$expire = getDomainExpirationDate($name);
|
||||
if (empty($expire) || (new DateTime($expire)) < (new DateTime())) {
|
||||
// Update domain expiry date
|
||||
$expire = getDomainExpirationDate($name);
|
||||
}
|
||||
|
||||
$client_id = intval($_POST['client_id']);
|
||||
|
||||
// Update NS, MX, A and WHOIS records/data
|
||||
$records = getDomainRecords($name);
|
||||
|
||||
Reference in New Issue
Block a user