X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/2d7b510a9d33a552b024e1db00212658f21afce6..HEAD:/widget/reply.php?ds=sidebyside diff --git a/widget/reply.php b/widget/reply.php index f924851..0c5d5a3 100644 --- a/widget/reply.php +++ b/widget/reply.php @@ -23,25 +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";