From 632f1566be6d3a0f153ed1e7fbe4a0716d260d63 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Wed, 02 Mar 2016 07:18:56 -0500
Subject: [PATCH] - removed unneeded security check (Fixes #3785)

---
 interface/lib/classes/validate_client.inc.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/interface/lib/classes/validate_client.inc.php b/interface/lib/classes/validate_client.inc.php
index 468a022..db55b04 100644
--- a/interface/lib/classes/validate_client.inc.php
+++ b/interface/lib/classes/validate_client.inc.php
@@ -161,6 +161,8 @@
 
 			// Test if the country of the VAT-ID matches the country of the customer
 			if($country != ''){
+				// Greece
+				if($country == 'GR') $country = 'EL';
 				if(strtoupper($cc) != $country){
 					$errmsg = $validator['errmsg'];
 					if(isset($app->tform->wordbook[$errmsg])) {

--
Gitblit v1.9.1