From 666ebeafd394e83084abe87deb9d847ae8c64afa Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Sun, 13 Apr 2025 16:00:36 -0600 Subject: [PATCH] fixed another bug --- articles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }