diff --git a/modules/registrars/cozaepp/cozaeppsync.php b/modules/registrars/cozaepp/cozaeppsync.php index 7a98d01582474b168e3bb1c93f42bc1929dba330..e02daa159a2f59a5f0dc1956b8868be8aa2cfe60 100644 --- a/modules/registrars/cozaepp/cozaeppsync.php +++ b/modules/registrars/cozaepp/cozaeppsync.php @@ -102,7 +102,6 @@ try { continue; } - # This is the template we going to use below for our updates $querytemplate = "UPDATE tbldomains SET status = '%s', registrationdate = '%s', expirydate = '%s', nextduedate = '%s' WHERE domain = '%s'"; @@ -117,6 +116,13 @@ try { echo "Updated $domain expiry to $nextduedate\n"; } elseif ($statusres == "serverHold") { + mysql_query(sprintf($querytemplate,"Active", + mysql_real_escape_string($createdate), + mysql_real_escape_string($nextduedate), + mysql_real_escape_string($nextduedate), + mysql_real_escape_string($domain) + )); + echo "Updated $domain expiry to $nextduedate\n"; } elseif ($statusres == "expired" || $statusres == "pendingDelete" || $statusres == "inactive") { mysql_query(sprintf($querytemplate,"Expired",