aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 721e91866..6ac4ca7a5 100644
--- a/index.php
+++ b/index.php
@@ -39,7 +39,8 @@
set_context('search');
set_input('search_viewtype', 'gallery');
if ($owner instanceof ElggGroup)
- $area2 .= list_entities_groups("album", 0, $owner->guid, 10);
+ $area2 .= list_entities("object", "album", $owner->guid, 10);
+ //$area2 .= list_entities_groups("album", 0, $owner->guid, 10);
else
$area2 .= list_entities("object", "album", $owner->guid, 10);