aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 18:01:34 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 18:01:34 +0000
commit68a08f14925e7129cf8302871f8eb70ada822be0 (patch)
tree6db3e9a1e51fef546461826045c4002d887917eb /views
parentea23afbc8663e412e4f4260810ab60af06e9a1b1 (diff)
downloadelgg-68a08f14925e7129cf8302871f8eb70ada822be0.tar.gz
elgg-68a08f14925e7129cf8302871f8eb70ada822be0.tar.bz2
Fixed numerous occurrances of elgg_view_entity being called incorrectly. Fixes #163
git-svn-id: https://code.elgg.org/elgg/trunk@1449 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/friends/list.php2
-rw-r--r--views/default/search/entity_list.php2
-rw-r--r--views/js/object/default.php2
-rw-r--r--views/js/user/default.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/views/default/friends/list.php b/views/default/friends/list.php
index 20676a2b7..d45a3f374 100644
--- a/views/default/friends/list.php
+++ b/views/default/friends/list.php
@@ -18,7 +18,7 @@
foreach($vars['friends'] as $friend) {
- echo elgg_view_entity($friend,"",false);
+ echo elgg_view_entity($friend);
}
diff --git a/views/default/search/entity_list.php b/views/default/search/entity_list.php
index 50ef380e2..4fc23c2ba 100644
--- a/views/default/search/entity_list.php
+++ b/views/default/search/entity_list.php
@@ -34,7 +34,7 @@
if ($viewtype == "list") {
if (is_array($entities) && sizeof($entities) > 0) {
foreach($entities as $entity) {
- $html .= elgg_view_entity($entity, "", $fullview);
+ $html .= elgg_view_entity($entity, $fullview);
}
}
} else {
diff --git a/views/js/object/default.php b/views/js/object/default.php
index 9130047ea..40cbd88c7 100644
--- a/views/js/object/default.php
+++ b/views/js/object/default.php
@@ -13,7 +13,7 @@
if (isset($vars['entity'])) {
- echo elgg_view_entity($vars['entity'],'default',true,false);
+ echo elgg_view_entity($vars['entity'],true,false);
}
diff --git a/views/js/user/default.php b/views/js/user/default.php
index 9130047ea..40cbd88c7 100644
--- a/views/js/user/default.php
+++ b/views/js/user/default.php
@@ -13,7 +13,7 @@
if (isset($vars['entity'])) {
- echo elgg_view_entity($vars['entity'],'default',true,false);
+ echo elgg_view_entity($vars['entity'],true,false);
}