Skip to content

Commit 5fa7543

Browse files
author
Till Brehm
committed
Merge branch '5826-blank-page-after-login' into 'develop'
Resolve "Blank page after login" Closes #5826 See merge request ispconfig/ispconfig3!1268
2 parents 73c0747 + f051762 commit 5fa7543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/auth.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function has_clients($userid) {
5858

5959
$userid = $app->functions->intval($userid);
6060
$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);
61-
if($client['limit_client'] != 0) {
61+
if(is_array($client) && $client['limit_client'] != 0) {
6262
return true;
6363
} else {
6464
return false;

0 commit comments

Comments
 (0)