fix: [internal] missing org object for users/view

pull/5296/head
iglocska 2019-10-10 15:13:34 +02:00
parent e5ed126cc5
commit b44063e7d1
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ class UsersController extends AppController
'conditions' => array('User.id' => $id),
'contain' => array(
'UserSetting',
'Role'
'Role',
'Organisation'
)
));
if (empty($user)) {