diff --git a/articles.php b/articles.php index 063b92c..e1e9a00 100644 --- a/articles.php +++ b/articles.php @@ -56,7 +56,7 @@ if (isset($_POST['form_id'])) { } else { $redirect = (isset($_GET['article_id']) ? 'articles.php?view=read&article_id=' . $_GET['article_id'] : ''); if ($redirect) - header('Location: user.php?action=login&redirect=' . urlencode($redirect)); + header('Location: user.php?view=login&redirect=' . urlencode($redirect)); else header('Location: articles.php'); }