mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Fix infinite reload in preference dialog when switching to common preferences
This commit is contained in:
parent
c9eaeb51ea
commit
b43dd8f2c3
@ -169,6 +169,11 @@ class preferences_settings
|
||||
|
||||
$sel_options = $readonlys = null;
|
||||
$data = $this->get_content($appname, $type, $sel_options, $readonlys, $preserve['types'], $tpl);
|
||||
if($data['appname'] == 'common')
|
||||
{
|
||||
// 'common' is not in the options list, we use the empty label for common
|
||||
$data['appname'] = '';
|
||||
}
|
||||
$preserve['appname'] = $preserve['old_appname'] = $data['appname'];
|
||||
$preserve['type'] = $preserve['old_type'] = $data['type'];
|
||||
$preserve['is_admin'] = $is_admin;
|
||||
|
Loading…
Reference in New Issue
Block a user