aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views/default/object')
-rw-r--r--mod/file/views/default/object/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index f92c2bfc5..ef5c2df07 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -18,7 +18,7 @@
$title = $file->title;
$desc = $file->description;
$owner = $vars['entity']->getOwnerEntity();
- $friendlytime = friendly_time($vars['entity']->time_created);
+ $friendlytime = elgg_view_friendly_time($vars['entity']->time_created);
$mime = $file->mimetype;
if (!$title) {