commit 9a9137410166340d98164d599bfb02b23b50ae6a parent 3b89a64c212cd4ad02a0b2d227a092fd52391831 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 16 Jan 2015 19:31:41 +0100 and forgot to save... Diffstat:
| M | core/backend/admin/blog/newpost.php | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -30,11 +30,11 @@ if ($resultat = $connection->query('SELECT id FROM posts')) { } #$resultat->close(); } -if (isset($_GET['author']) && isset($_GET['title']) && isset($_GET['content']) && isset($_GET['category'])) { - $author = $_GET['author']; - $title = $_GET['title']; - $text = $_GET['content']; - $category = $_GET['category']; +if (isset($_POST['author']) && isset($_POST['title']) && isset($_POST['content']) && isset($_POST['category'])) { + $author = $_POST['author']; + $title = $_POST['title']; + $text = $_POST['content']; + $category = $_POST['category']; } echo $author;