mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Don't set prefs here, pass the current value to form()
This commit is contained in:
parent
3c0832cab2
commit
1d413dd5bb
@ -39,13 +39,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
if ($phpgw_info["user"]["preferences"]["addressbook"]["autosave_category"] && $cat_id) {
|
||||
$phpgw->preferences->delete("addressbook","default_category");
|
||||
$phpgw->preferences->add("addressbook","default_category",$cat_id);
|
||||
$phpgw->preferences->save_repository();
|
||||
}
|
||||
|
||||
|
||||
if ($AddVcard){
|
||||
Header("Location: " . $phpgw->link("/addressbook/vcardin.php"));
|
||||
} else if ($add_email) {
|
||||
|
Loading…
Reference in New Issue
Block a user