aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-05-10 10:31:11 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-05-10 10:31:11 -0700
commit3d5db88999fbafa1d1ac6f0dedf01d692c2a968c (patch)
tree74fc5f4bacece7f8ea2f850abfce2bfd5fc6d18f /views
parent319500f0b54baa05286098f51407b3966a51121d (diff)
downloadelgg-3d5db88999fbafa1d1ac6f0dedf01d692c2a968c.tar.gz
elgg-3d5db88999fbafa1d1ac6f0dedf01d692c2a968c.tar.bz2
Fixes #4372. Using elgg_view_friendly_time() in river entries.
Diffstat (limited to 'views')
-rw-r--r--views/default/river/elements/body.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/river/elements/body.php b/views/default/river/elements/body.php
index 6894b81e2..2cd7f2289 100644
--- a/views/default/river/elements/body.php
+++ b/views/default/river/elements/body.php
@@ -18,7 +18,7 @@ $menu = elgg_view_menu('river', array(
));
// river item header
-$timestamp = elgg_get_friendly_time($item->getPostedTime());
+$timestamp = elgg_view_friendly_time($item->getPostedTime());
$summary = elgg_extract('summary', $vars, elgg_view('river/elements/summary', array('item' => $vars['item'])));
if ($summary === false) {