mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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){
|
if ($AddVcard){
|
||||||
Header("Location: " . $phpgw->link("/addressbook/vcardin.php"));
|
Header("Location: " . $phpgw->link("/addressbook/vcardin.php"));
|
||||||
} else if ($add_email) {
|
} else if ($add_email) {
|
||||||
|
Loading…
Reference in New Issue
Block a user