summaryrefslogtreecommitdiff
path: root/src/web/_views/comments.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-18 14:14:53 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-18 14:48:54 -0400
commit1f9024763d9224c4cd9a181bac27e6b9f12ad672 (patch)
tree00f827470dad9aa2692483acbdef9502c1a464d3 /src/web/_views/comments.php
parentfix rss (diff)
downloadwebsite-1f9024763d9224c4cd9a181bac27e6b9f12ad672.tar.gz
website-1f9024763d9224c4cd9a181bac27e6b9f12ad672.tar.bz2
website-1f9024763d9224c4cd9a181bac27e6b9f12ad672.zip
refactor
Diffstat (limited to 'src/web/_views/comments.php')
-rw-r--r--src/web/_views/comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/_views/comments.php b/src/web/_views/comments.php
index 0544f84..78cc1cb 100644
--- a/src/web/_views/comments.php
+++ b/src/web/_views/comments.php
@@ -3,7 +3,7 @@
<?php
if ($comments)
foreach($comments as $comment) {
- $date = $this->main->format_date($comment['created']);
+ $date = $this->format_date($comment['created']);
echo '<div class="comment">';
echo '<h3 class="header">' . esc($comment['author']) . '</h3>';