From 0c39a76b1957944af7fec7c3c7277bf394fc96e8 Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 20 Feb 2011 16:43:00 +0000 Subject: 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 --- mod/file/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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; -- cgit v1.2.3