aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/layout/objects/list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/layout/objects/list.php b/views/default/layout/objects/list.php
index 9cbd85f0b..84ba1414c 100644
--- a/views/default/layout/objects/list.php
+++ b/views/default/layout/objects/list.php
@@ -53,9 +53,9 @@ if (is_array($items) && count($items) > 0) {
$html .= "<ul class=\"$list_class\">";
foreach ($items as $item) {
if (elgg_instanceof($item)) {
- $id = "item-{$item->getGUID()}";
+ $id = "elgg-{$item->getType()}-{$item->getGUID()}";
} else {
- $id = "item-{$item->id}";
+ $id = "item-{$item->getType()}-{$item->id}";
}
$html .= "<li id=\"$id\" class=\"$item_class\">";
$html .= elgg_view_list_item($item, $full_view);