fixed another bug
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ if (isset($_POST['form_id'])) {
|
|||||||
} else {
|
} else {
|
||||||
$redirect = (isset($_GET['article_id']) ? 'articles.php?view=read&article_id=' . $_GET['article_id'] : '');
|
$redirect = (isset($_GET['article_id']) ? 'articles.php?view=read&article_id=' . $_GET['article_id'] : '');
|
||||||
if ($redirect)
|
if ($redirect)
|
||||||
header('Location: user.php?action=login&redirect=' . urlencode($redirect));
|
header('Location: user.php?view=login&redirect=' . urlencode($redirect));
|
||||||
else
|
else
|
||||||
header('Location: articles.php');
|
header('Location: articles.php');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user