mvc init...1
This commit is contained in:
parent
208aefb6d7
commit
cde91d0d85
@ -86,7 +86,7 @@ class UserController extends BaseController
|
||||
}
|
||||
$msgs = [];
|
||||
foreach ($entitys as $entity) {
|
||||
$level = intdiv($entity->getPoint() / MANGBOARD_POINT_UNIT);
|
||||
$level = intdiv($entity->getPoint() / MANGBOARD_POINT_UNIT)+1;
|
||||
if ($entity->getLevel() != $level) {
|
||||
$msgs[] = $this->setLevel($entity, $level);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user