diff --git a/modules/registrars/cozaepp/cozaeppsync.php b/modules/registrars/cozaepp/cozaeppsync.php index beff6069c8b8a4f0667da4ccf83e42586b6288ad..938fbc33e20cf956d367edc180a154761ce73274 100644 --- a/modules/registrars/cozaepp/cozaeppsync.php +++ b/modules/registrars/cozaepp/cozaeppsync.php @@ -66,7 +66,7 @@ if (PEAR::isError($client = _cozaepp_Client())) { # Pull list of domains which are registered using this module -$queryresult = mysql_query("SELECT domain FROM tbldomains WHERE registrar = 'cozaepp' AND status <> 'Pending Transfer'"); +$queryresult = mysql_query("SELECT domain FROM tbldomains WHERE registrar = 'cozaepp'"); while($data = mysql_fetch_array($queryresult)) { $domains[] = trim(strtolower($data['domain'])); } @@ -110,7 +110,7 @@ foreach($domains as $domain) { # This is the template we going to use below for our updates - $querytempalte = "UPDATE tbldomains SET status = %s, registrationdate = %s, expirydate = %s, nextduedate = %s, WHERE domain = %s"; + $querytempalte = "UPDATE tbldomains SET status = %s, registrationdate = %s, expirydate = %s, nextduedate = %s WHERE domain = %s"; # Check status and update if ($statusres == "ok") {