Change user view name

This commit is contained in:
Flavio Copes
2016-04-27 21:06:09 +02:00
parent ea0aa14e49
commit 45f7665d2d

View File

@@ -1532,7 +1532,7 @@ class AdminController
$config = $this->grav['config'];
$config->reload();
if ($this->view === 'users') {
if ($this->view === 'user') {
$this->grav['user']->merge(User::load($this->admin->route)->toArray());
}
}