]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3322 file link removed from owner_block if disabled for a group
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 11 Apr 2011 11:43:03 +0000 (11:43 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 11 Apr 2011 11:43:03 +0000 (11:43 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8979 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/file/start.php

index 218edef51303c5fa6ce098e28ea78c97129779d4..d4f12e903d03f469d44b520f3735d8899b8ef7f7 100644 (file)
@@ -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;