fixed another bug
This commit is contained in:
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user