Add check for default category pref if none is set via dropdown

This commit is contained in:
Miles Lott 2001-03-25 07:39:58 +00:00
parent 72ba1e141a
commit 1433916943

View File

@ -41,6 +41,10 @@
}
}
if (!$cat_id) {
$cat_id = $phpgw_info["user"]["preferences"]["addressbook"]["default_category"];
}
$extrafields = array(
"ophone" => "ophone",
"address2" => "address2",