aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 16:43:00 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 16:43:00 +0000
commit0c39a76b1957944af7fec7c3c7277bf394fc96e8 (patch)
treea7807dee76e5765e0f1cd15f7762aed37b245061 /mod/file/start.php
parentb1f81ce5ad195d6f1cd31100b3b4e9ed9f3d92c0 (diff)
downloadelgg-0c39a76b1957944af7fec7c3c7277bf394fc96e8.tar.gz
elgg-0c39a76b1957944af7fec7c3c7277bf394fc96e8.tar.bz2
Refs #2765, #2956. Merged r7830 fix for group files to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@8360 36083f99-b078-4883-b0ff-0f9b5a30f544
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 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;