go back to user list after save

This commit is contained in:
Tóth Richárd
2019-08-23 13:25:19 +02:00
parent 2e44fe3146
commit a2364812be

View File

@@ -83,7 +83,7 @@ if (isset($_POST['action'])) {
unset($_POST['uk_id']);
user_kid::update_user($_POST, $uid);
log::register('update_member', $uid);
header("Location: " . $actual_link);
header("Location: /admin/members");
break;
default:
@@ -99,7 +99,8 @@ if (isset($_POST['action'])) {
//die("aaa");
$new_user_id = user_kid::create_user($_POST);
log::register('new_member', $new_user_id);
header("Location: /admin/edit_member/" . $new_user_id);
header("Location: /admin/members");
//header("Location: /admin/edit_member/" . $new_user_id);
break;
case 'parent_create':