fix: [userSettings:edit] Correctly pre-select user to be edited
parent
1ea7c796ac
commit
279c69c510
|
@ -114,7 +114,7 @@ class UserSettingsController extends AppController
|
||||||
$dropdownData = [
|
$dropdownData = [
|
||||||
'user' => $this->UserSettings->Users->find('list', [
|
'user' => $this->UserSettings->Users->find('list', [
|
||||||
'sort' => ['username' => 'asc']
|
'sort' => ['username' => 'asc']
|
||||||
]),
|
])->toArray(),
|
||||||
];
|
];
|
||||||
$this->set(compact('dropdownData'));
|
$this->set(compact('dropdownData'));
|
||||||
$this->set('user_id', $this->entity->user_id);
|
$this->set('user_id', $this->entity->user_id);
|
||||||
|
|
Loading…
Reference in New Issue