aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-11 11:43:03 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-11 11:43:03 +0000
commitb3807125e2c4d0c5bad39d5fab33228de7f5f65e (patch)
treed710f0c3422d96817d4237138eb6cc0f9d3a5869 /mod
parent98f18b6fa309d6a68025699848a0dd5652ac75da (diff)
downloadelgg-b3807125e2c4d0c5bad39d5fab33228de7f5f65e.tar.gz
elgg-b3807125e2c4d0c5bad39d5fab33228de7f5f65e.tar.bz2
Fixes #3322 file link removed from owner_block if disabled for a group
git-svn-id: http://code.elgg.org/elgg/trunk@8979 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-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;