fixed not working password change, if no rights for password app, but for preferences

This commit is contained in:
Ralf Becker 2011-06-07 12:11:16 +00:00
parent 1c89bd7a99
commit c84c890738

View File

@ -883,7 +883,7 @@ abstract class egw_framework
$this->_add_topmenu_item(array( $this->_add_topmenu_item(array(
'name' => $pw_app['name'] == 'password' ? 'about' : $pw_app['name'], 'name' => $pw_app['name'] == 'password' ? 'about' : $pw_app['name'],
'title' => lang('Password'), 'title' => lang('Password'),
'url' => egw::link('/preferences/password.php'), 'url' => egw::link($pw_app['name'] == 'password' ? $pw_app['index'] : '/index.php?menuaction=preferences.uipassword.change'),
'icon' => common::image($pw_app['icon'],$pw_app['icon_app']), 'icon' => common::image($pw_app['icon'],$pw_app['icon_app']),
)); ));
} }