git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: replace output caching by article object
[minimedit.git]
/
widget
/
reply.php
diff --git
a/widget/reply.php
b/widget/reply.php
index cfa948715367086f7fd0ce663b7083cf416a75c8..3a16e2c0df1d3d54d1c10a255e9ace49a8edb44c 100644
(file)
--- a/
widget/reply.php
+++ b/
widget/reply.php
@@
-27,7
+27,7
@@
$query = $Db->query('SELECT * FROM comments WHERE page = ? ORDER BY created', [$
print '<ul class="replies">';
-while ($row = $query->fetch(
PDO::FETCH_OBJ
)) {
+while ($row = $query->fetch()) {
$rowuser = new User("profile/{$row->author}");
print '<li>';
printf('<strong>%s</strong> <small class=date>%s</small>',