Skip to content
Snippets Groups Projects
Commit 5fa7543d authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '5826-blank-page-after-login' into 'develop'

Resolve "Blank page after login"

Closes #5826

See merge request ispconfig/ispconfig3!1268
parents 73c07477 f051762b
No related branches found
No related tags found
1 merge request!1268Resolve "Blank page after login"
Pipeline #5885 passed
......@@ -58,7 +58,7 @@ class auth {
$userid = $app->functions->intval($userid);
$client = $app->db->queryOneRecord("SELECT client.limit_client FROM sys_user, client WHERE sys_user.userid = ? AND sys_user.client_id = client.client_id", $userid);
if($client['limit_client'] != 0) {
if(is_array($client) && $client['limit_client'] != 0) {
return true;
} else {
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment