commit 1bf5aee43e8b2b8cc82e71406a5446dd2b371746 parent d109b9be7400195b27c8060154f712fcd3c38b9c Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 16 Jan 2015 19:26:53 +0100 why is it empty? :/ Diffstat:
| M | core/backend/admin/blog/newpost.php | | | 11 | +++++++---- |
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -30,11 +30,14 @@ 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']; +} -$author = $_GET["author"]; -$title = $_GET["title"]; -$text = $_GET["content"]; -$category = $_GET["category"]; +phpquery(); echo $author; echo $title;