mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-23 18:38:12 +00:00
fix: 终端用户数提示错误
This commit is contained in:
parent
5fb07b7aa7
commit
8186649a9f
@ -576,7 +576,7 @@ class SystemController extends AbstractController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($data['user_count'] > $data['info']['people']) {
|
if ($data['info']['people'] > 0 && $data['user_count'] > $data['info']['people']) {
|
||||||
$data['error'][] = '终端用户数超过License限制';
|
$data['error'][] = '终端用户数超过License限制';
|
||||||
}
|
}
|
||||||
if ($data['info']['expired_at'] && strtotime($data['info']['expired_at']) <= Base::time()) {
|
if ($data['info']['expired_at'] && strtotime($data['info']['expired_at']) <= Base::time()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user