Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
a71b8a0f
Commit
a71b8a0f
authored
Jul 01, 2014
by
Sergio
Browse files
reseller has_clients if limit_client is != 0, e.g. -1 or > 0
parent
78a0c4a8
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/lib/classes/auth.inc.php
View file @
a71b8a0f
...
...
@@ -50,7 +50,7 @@ class auth {
$userid
=
$app
->
functions
->
intval
(
$userid
);
$client
=
$app
->
db
->
queryOneRecord
(
"SELECT client.limit_client FROM sys_user, client WHERE sys_user.userid =
$userid
AND sys_user.client_id = client.client_id"
);
if
(
$client
[
'limit_client'
]
>
0
)
{
if
(
$client
[
'limit_client'
]
!=
0
)
{
return
true
;
}
else
{
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment