X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/88fa0277fa6f5acd7e4d075840aca909b18317e0..fc1eaa7b91bd44d7939c67b1d3d8aef50af3c5db:/widget/reply.php?ds=sidebyside diff --git a/widget/reply.php b/widget/reply.php index f8984aa..0c5d5a3 100644 --- a/widget/reply.php +++ b/widget/reply.php @@ -23,32 +23,38 @@ if ($_POST) { $cols = "*, (SELECT json_agg(journal.*) FROM journal WHERE comment_id = comments.id AND property = 'attr') AS journal"; $query = $Db->query("SELECT $cols FROM comments WHERE page = ? ORDER BY created", [$Page->link]); -if ($row = $query->fetch()) { - print $row->message; - $Page->teaser = $row->raw; -} - -print '\n\n"; +print "\n\n";