Commit 509ea4b6 authored by Penny Leach's avatar Penny Leach
Browse files

redirect to more sensible place after creating/editing groups

parent 05920df5
......@@ -108,7 +108,7 @@ function creategroup_submit($values) {
db_commit();
redirect('./');
redirect(get_config('wwwroot') . 'contacts/groups');
}
$smarty = smarty();
......
......@@ -134,8 +134,7 @@ function editgroup_submit($values) {
$SESSION->add_ok_msg(get_string('groupsaved'));
db_commit();
redirect('./');
redirect(get_config('wwwroot') . 'contacts/groups');
}
$smarty = smarty();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment