fixed bugs with old system for views/actions
This commit is contained in:
@@ -27,7 +27,7 @@ if (isset($_POST['form_id'])) {
|
||||
|
||||
if ($msg === true) {
|
||||
login($_POST['username'], $_POST['password'], false);
|
||||
header('Location: user.php?action=view&user_id=' . $_SESSION['user_id']);
|
||||
header('Location: user.php?view=display&user_id=' . $_SESSION['user_id']);
|
||||
}
|
||||
break;
|
||||
case 'login_form':
|
||||
|
||||
Reference in New Issue
Block a user