From: brettp Date: Sun, 20 Feb 2011 16:43:00 +0000 (+0000) Subject: Refs #2765, #2956. Merged r7830 fix for group files to trunk. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0c39a76b1957944af7fec7c3c7277bf394fc96e8;p=lorea%2Felgg.git 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 --- 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;