From 1b475494294a5daed47006b1882fa1bc01fbef9a Mon Sep 17 00:00:00 2001 From: Nigel Kukard <nkukard@lbsd.net> Date: Thu, 25 Oct 2012 14:37:18 +0000 Subject: [PATCH] Add the ability to sync transfers Fixed the code to allow transfes to be sync'd properly. -Thanks Jeremy Green Change-Id: I82db7a2f2d61380c9998d71441bfffe7d857eaba --- modules/registrars/cozaepp/cozaeppsync.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/registrars/cozaepp/cozaeppsync.php b/modules/registrars/cozaepp/cozaeppsync.php index beff606..938fbc3 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") { -- GitLab