Kommentare bearbeiten - Fehlerkorrektur
This commit is contained in:
@@ -34,12 +34,12 @@ if (!isset($_SESSION["user_email"])) {
|
||||
|
||||
if ($articleId !== false && $articleId !== null) {
|
||||
header(
|
||||
"Location: ../../index.php?pfad=showArticle&id="
|
||||
"Location: index.php?pfad=showArticle&id="
|
||||
. urlencode((string) $articleId)
|
||||
. "#comments"
|
||||
);
|
||||
} else {
|
||||
header("Location: ../../index.php");
|
||||
header("Location: index.php");
|
||||
}
|
||||
exit();
|
||||
}
|
||||
@@ -58,7 +58,7 @@ if (
|
||||
|
||||
$_SESSION["comment_message_type"] = "error";
|
||||
|
||||
header("Location: ../../index.php");
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user