fixed another bug

This commit is contained in:
2025-04-13 16:00:36 -06:00
parent 84f20b03c2
commit 666ebeafd3
+1 -1
View File
@@ -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');
}