aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/widgets.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 21:44:14 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 21:44:14 -0400
commit2e0cc0343715adec8a0843750016f89acc3c2394 (patch)
tree9205cbf231ef9f2035a8d29b4834f44c7e86e7d0 /views/default/page/layouts/widgets.php
parent1ed326672a833f020bdb15f0b9cb047ab57f0b5b (diff)
downloadelgg-2e0cc0343715adec8a0843750016f89acc3c2394.tar.gz
elgg-2e0cc0343715adec8a0843750016f89acc3c2394.tar.bz2
Fixes #4661 not showing access on widgets loaded through ajax if the layout does not show access
Diffstat (limited to 'views/default/page/layouts/widgets.php')
-rw-r--r--views/default/page/layouts/widgets.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/default/page/layouts/widgets.php b/views/default/page/layouts/widgets.php
index e3819cc20..c6b162516 100644
--- a/views/default/page/layouts/widgets.php
+++ b/views/default/page/layouts/widgets.php
@@ -31,6 +31,7 @@ if (elgg_can_edit_widget_layout($context)) {
'widgets' => $widgets,
'context' => $context,
'exact_match' => $exact_match,
+ 'show_access' => $show_access,
);
echo elgg_view('page/layouts/widgets/add_panel', $params);
}