From 512448371b9751eca799f7c0e65a1907649bb40c Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Fri, 26 Oct 2012 14:52:11 +0000
Subject: [PATCH] Fixed typo for template variable name

Thanks Jeremy Green

Change-Id: Ie77a8814d09663fe665e30936ce811f7a6498019
---
 modules/registrars/cozaepp/cozaeppsync.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/registrars/cozaepp/cozaeppsync.php b/modules/registrars/cozaepp/cozaeppsync.php
index 938fbc3..142839b 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") {
-- 
GitLab