aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/index.php b/mod/file/index.php
index 44382ce02..617e4c7f4 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -21,7 +21,7 @@ if ($owner->guid == elgg_get_logged_in_user_guid()) {
$params['filter_context'] = 'mine';
} else if (elgg_instanceof($owner, 'user')) {
// someone else's files
- $title = elgg_echo("file:user", array($owner()->name));
+ $title = elgg_echo("file:user", array($owner->name));
// do not show button or select a tab when viewing someone else's posts
$params['filter_context'] = 'none';
$params['buttons'] = '';