aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/start.php')
-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 218edef51..d4f12e903 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -151,7 +151,7 @@ function file_owner_block_menu($hook, $type, $return, $params) {
$item = new ElggMenuItem('file', elgg_echo('file'), $url);
$return[] = $item;
} else {
- if ($params['entity']->files_enable != "no") {
+ if ($params['entity']->file_enable != "no") {
$url = "file/group/{$params['entity']->guid}/owner";
$item = new ElggMenuItem('file', elgg_echo('file:group'), $url);
$return[] = $item;