diff --git a/module/user/control.php b/module/user/control.php index f54548012c..8ef755e12d 100644 --- a/module/user/control.php +++ b/module/user/control.php @@ -404,7 +404,7 @@ class user extends control else { $this->user->delete(TABLE_USER, $userID); - die(js::locate($this->createLink('company', 'browse'), 'parent')); + die(js::locate($this->session->userList, 'parent')); } }