X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/28665e987ef8be35ce4f7082bd7aa5c91371397a..8e1d3422ac745d49bcf56152f11d5b07ea45cb38:/widget/reply.php diff --git a/widget/reply.php b/widget/reply.php index 7e7d327..0c5d5a3 100644 --- a/widget/reply.php +++ b/widget/reply.php @@ -23,29 +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";