mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Fix Save/Cancel buttons in preferences.
Registry section should be 'list', not 'index'. Also handle deprecated 'view_list' too.
This commit is contained in:
parent
2600b84805
commit
2ba1eec06a
@ -96,10 +96,12 @@ class preferences_settings
|
||||
{
|
||||
if($appname != 'common')
|
||||
{
|
||||
egw_framework::redirect_link(
|
||||
egw_framework::link('/index.php'),
|
||||
egw_link::get_registry($appname, 'index')
|
||||
);
|
||||
$extra = egw_link::get_registry($appname, 'list');
|
||||
if(!$extra)
|
||||
{
|
||||
$extra = egw_link::get_registry($appname,'view_list');
|
||||
}
|
||||
egw_framework::redirect_link(egw_framework::link('/index.php'),$extra);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user