From c84c890738894e44332be3043fa05e415deccf54 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Jun 2011 12:11:16 +0000 Subject: [PATCH] fixed not working password change, if no rights for password app, but for preferences --- phpgwapi/inc/class.egw_framework.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 12d4662409..43e7db4db6 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -883,7 +883,7 @@ abstract class egw_framework $this->_add_topmenu_item(array( 'name' => $pw_app['name'] == 'password' ? 'about' : $pw_app['name'], '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']), )); }