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

View File

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