aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/endpoint
diff options
context:
space:
mode:
Diffstat (limited to 'mod/riverdashboard/endpoint')
-rw-r--r--mod/riverdashboard/endpoint/get_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/riverdashboard/endpoint/get_comments.php b/mod/riverdashboard/endpoint/get_comments.php
index b6f4b565a..017591fa5 100644
--- a/mod/riverdashboard/endpoint/get_comments.php
+++ b/mod/riverdashboard/endpoint/get_comments.php
@@ -35,6 +35,6 @@ foreach ($comments as $comment) {
echo "<div class='river_comment_contents'>";
echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . '</a>&nbsp;<span class="twitter_anywhere">' . parse_urls($contents) . '</span>';
- echo "<span class='entity_subtext'>" . friendly_time($comment->time_created) . "</span>";
+ echo "<span class='entity_subtext'>" . elgg_view_friendly_time($comment->time_created) . "</span>";
echo "</div></div>";
} \ No newline at end of file