From adb537c3f8adf2716ec5d6a51870251ab6e4491d Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Thu, 18 Aug 2016 15:20:13 +0200
Subject: [PATCH] - fix from previous commit

---
 interface/lib/classes/remote.d/client.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/lib/classes/remote.d/client.inc.php b/interface/lib/classes/remote.d/client.inc.php
index 6857133fe8..2099089f09 100644
--- a/interface/lib/classes/remote.d/client.inc.php
+++ b/interface/lib/classes/remote.d/client.inc.php
@@ -171,7 +171,7 @@ class remoting_client extends remoting {
 			// check if this one is reseller
 			$check = $app->db->queryOneRecord('SELECT `limit_client` FROM `client` WHERE `client_id` = ?', intval($params['parent_client_id']));
 			if($check['limit_client'] == 0) {
-				throw new SoapFault('Invalid reseller', 'Selected client is not a reseller. REMOVING PARENT_CLIENT_ID!!!');
+				// Selected client is not a reseller. REMOVING PARENT_CLIENT_ID!!!
 				$params['parent_client_id'] = 0;
 			} elseif(isset($params['limit_client']) && $params['limit_client'] != 0) {
 				throw new SoapFault('Invalid reseller', 'Reseller cannot be client of another reseller.');
-- 
GitLab