Don't set prefs here, pass the current value to form()

This commit is contained in:
Miles Lott 2001-03-25 09:09:32 +00:00
parent 3c0832cab2
commit 1d413dd5bb

View File

@ -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) {