aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index d77c082cc..a70267e47 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -153,7 +153,7 @@ function file_owner_block_menu($hook, $type, $return, $params) {
$item = new ElggMenuItem('file', elgg_echo('file'), $url);
$return[] = $item;
} else {
- if ($params['entity']->file_enable != "no") {
+ if ($params['entity']->files_enable != "no") {
$url = "pg/file/group/{$params['entity']->guid}/owner";
$item = new ElggMenuItem('file', elgg_echo('file:group'), $url);
$return[] = $item;