Merge branch 'release'
This commit is contained in:
@@ -118,6 +118,11 @@ class UserController extends BaseController
|
||||
$data['system_ids'][] = $system['id'];
|
||||
}
|
||||
}
|
||||
if ($data['reportToInfo']) {
|
||||
$data['report_to_name'] = $data['reportToInfo']['id'] == $data['id'] ? '/' : $data['reportToInfo']['name'];
|
||||
} else {
|
||||
$data['report_to_name'] = '-';
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user