diff --git a/modules/registrars/cozaepp/cozaeppsync.php b/modules/registrars/cozaepp/cozaeppsync.php index 42f25f17e5a229e30c1489e51c10b2bf7dfb57c9..26e401af742fd107e4cc7a4d91132747927752ad 100644 --- a/modules/registrars/cozaepp/cozaeppsync.php +++ b/modules/registrars/cozaepp/cozaeppsync.php @@ -107,6 +107,16 @@ try { continue; } } + } else if($coderes == '2303') { + # Domain does not exist + $status = "Domain $domain does not exist, setting state to cancelled!"; + $statusres = 'cancelled'; + + # Checking that Domain sync option is enabled + if (!empty($row) && !$row['value'] == 'on') { + continue; + } + } else { echo "Domain check on $domain not successful: "._cozaepp_message($coderes)." (File a bug report here: http://devlabs.linuxassist.net/projects/whmcs-coza-epp/issues/new)"; continue;