We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d65b95 commit 6c5af22Copy full SHA for 6c5af22
interface/lib/classes/remoting_lib.inc.php
@@ -128,9 +128,9 @@ function loadUserProfile($client_id_param = 0) {
128
} else {
129
$user = $app->db->queryOneRecord("SELECT * FROM sys_user WHERE client_id = ?", $this->client_id);
130
if(empty($user)) {
131
- throw new SoapFault('invalid_client_id', 'Invalid client_id '.$this->client_id);
132
- return false;
133
- }
+ throw new SoapFault('invalid_client_id', 'Invalid client_id '.$this->client_id);
+ return false;
+ }
134
$this->sys_username = $user['username'];
135
$this->sys_userid = $user['userid'];
136
$this->sys_default_group = $user['default_group'];
0 commit comments