From fac1f6de7e72a7b40304a6b98c4205835bddef56 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Sat, 5 May 2018 12:20:14 +0000
Subject: [PATCH] Fixed admin phone number to use full format

---
 modules/registrars/cozaepp/cozaepp.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php
index 3d893ec..26a563a 100644
--- a/modules/registrars/cozaepp/cozaepp.php
+++ b/modules/registrars/cozaepp/cozaepp.php
@@ -1,5 +1,5 @@
 <?php
-# Copyright (c) 2012-2015, AllWorldIT
+# Copyright (c) 2012-2018, AllWorldIT
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -386,7 +386,7 @@ function cozaepp_RegisterDomain($params) {
 	$AdminPostalCode = $params["adminpostcode"];
 	$AdminCountry = $params["admincountry"];
 	$AdminEmailAddress = $params["adminemail"];
-	$AdminPhone = $params["adminphonenumber"];
+	$AdminPhone = $params["adminfullphonenumber"];
 
 	# Registrar contactid hash
 	$contactid = substr(md5($domain), 0,15);
@@ -635,7 +635,7 @@ function cozaepp_TransferDomain($params) {
 	$AdminPostalCode = $params["adminpostcode"];
 	$AdminCountry = $params["admincountry"];
 	$AdminEmailAddress = $params["adminemail"];
-	$AdminPhone = $params["adminphonenumber"];
+	$AdminPhone = $params["adminfullphonenumber"];
 	# Our details
 	$contactid = substr(md5($domain), 0,15);
 
-- 
GitLab