]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2765, #2956. Merged r7830 fix for group files to trunk.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 20 Feb 2011 16:43:00 +0000 (16:43 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 20 Feb 2011 16:43:00 +0000 (16:43 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8360 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/file/start.php

index d77c082cc1aa03fe1ace56722e0fa563fb8c6eae..a70267e4758bada088b115d3ead64f00439294cf 100644 (file)
@@ -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;