From 0f6fbf7bb234440ba6a2ac933aa32e057322a625 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 16 Dec 2010 15:25:11 -0800 Subject: [PATCH] Copy this change to 3.0 > commit 30700cb8de1293b442b73dae462e3fd2e6b4bf31 > Author: Bharat Mediratta > Date: Sat Nov 27 18:35:11 2010 -0800 > > Oops, add in security. Only show viewable children. --- 3.0/modules/albumtree/views/albumtree_block.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.0/modules/albumtree/views/albumtree_block.html.php b/3.0/modules/albumtree/views/albumtree_block.html.php index 7cf66799..4a73c333 100644 --- a/3.0/modules/albumtree/views/albumtree_block.html.php +++ b/3.0/modules/albumtree/views/albumtree_block.html.php @@ -10,7 +10,7 @@ -children(null, null, array(array("type", "=", "album"))) as $child): ?> +viewable()->children(null, null, array(array("type", "=", "album"))) as $child): ?>