From: cash Date: Mon, 11 Apr 2011 11:43:03 +0000 (+0000) Subject: Fixes #3322 file link removed from owner_block if disabled for a group X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b3807125e2c4d0c5bad39d5fab33228de7f5f65e;p=lorea%2Felgg.git 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 --- 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;