User: Fix method getNavigation()

refs #10246
This commit is contained in:
Johannes Meyer 2015-09-30 11:47:38 +02:00
parent a2827e0dd9
commit 6a61d4aa25
1 changed files with 1 additions and 2 deletions

View File

@ -488,8 +488,7 @@ class User
*/
public function getNavigation($type)
{
$config = Config::navigation($type === 'dashboard-pane' ? 'dashlet' : $type);
$config->getConfigObject()->setKeyColumn('name');
$config = Config::navigation($type === 'dashboard-pane' ? 'dashlet' : $type, $this->getUsername());
if ($type === 'dashboard-pane') {
$panes = array();