diff --git a/modules/registrars/cozaepp/cozaeppsync.php b/modules/registrars/cozaepp/cozaeppsync.php
index 938fbc33e20cf956d367edc180a154761ce73274..142839bdab43906093fdaa1daffe13fd28d715a1 100644
--- a/modules/registrars/cozaepp/cozaeppsync.php
+++ b/modules/registrars/cozaepp/cozaeppsync.php
@@ -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";
+	$querytemplate = "UPDATE tbldomains SET status = %s, registrationdate = %s, expirydate = %s, nextduedate = %s WHERE domain = %s";
 
 	# Check status and update
 	if ($statusres == "ok") {