瀏覽代碼

Merge branch 'dev'

master
Guillaume 3 年之前
父節點
當前提交
86be6635e3
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      common/models/User.php

+ 2
- 2
common/models/User.php 查看文件

@@ -785,9 +785,9 @@ class User extends ActiveRecordCommon implements IdentityInterface
public function belongsToUserGroup($userGroupId)
{
if(!$this->userUserGroup) {
$this->userUserGroup = UserUserGroup::searchAll([
$this->populateRelation('userUserGroup', UserUserGroup::searchAll([
'id_user' => $this->id
]) ;
])) ;
}

if($this->userUserGroup) {

Loading…
取消
儲存