Skip to content

Commit adb537c

Browse files
author
Marius Burkard
committed
- fix from previous commit
1 parent 4a34e61 commit adb537c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/remote.d/client.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function client_add($session_id, $reseller_id, $params)
171171
// check if this one is reseller
172172
$check = $app->db->queryOneRecord('SELECT `limit_client` FROM `client` WHERE `client_id` = ?', intval($params['parent_client_id']));
173173
if($check['limit_client'] == 0) {
174-
throw new SoapFault('Invalid reseller', 'Selected client is not a reseller. REMOVING PARENT_CLIENT_ID!!!');
174+
// Selected client is not a reseller. REMOVING PARENT_CLIENT_ID!!!
175175
$params['parent_client_id'] = 0;
176176
} elseif(isset($params['limit_client']) && $params['limit_client'] != 0) {
177177
throw new SoapFault('Invalid reseller', 'Reseller cannot be client of another reseller.');

0 commit comments

Comments
 (0)