Skip to content

Commit 6c5af22

Browse files
author
Till Brehm
committed
Update remoting_lib.inc.php
1 parent 3d65b95 commit 6c5af22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/lib/classes/remoting_lib.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ function loadUserProfile($client_id_param = 0) {
128128
} else {
129129
$user = $app->db->queryOneRecord("SELECT * FROM sys_user WHERE client_id = ?", $this->client_id);
130130
if(empty($user)) {
131-
throw new SoapFault('invalid_client_id', 'Invalid client_id '.$this->client_id);
132-
return false;
133-
}
131+
throw new SoapFault('invalid_client_id', 'Invalid client_id '.$this->client_id);
132+
return false;
133+
}
134134
$this->sys_username = $user['username'];
135135
$this->sys_userid = $user['userid'];
136136
$this->sys_default_group = $user['default_group'];

0 commit comments

Comments
 (0)