aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/object
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-17 16:35:40 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-17 16:35:40 +0000
commitdbf0b100aba0e2557a99f7dfcd921cdb7509903e (patch)
treee8084364d9e568b63d53d20c1eb57940c2da5e82 /mod/blog/views/default/object
parent7fe475d83bb4ffaca77327e9a4a26202fba4846f (diff)
downloadelgg-dbf0b100aba0e2557a99f7dfcd921cdb7509903e.tar.gz
elgg-dbf0b100aba0e2557a99f7dfcd921cdb7509903e.tar.bz2
pass the entity so other plugins can extend properly
git-svn-id: http://code.elgg.org/elgg/trunk@5795 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object')
-rw-r--r--mod/blog/views/default/object/blog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 5749a858b..d72d6a21d 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -57,7 +57,7 @@ if ($blog->canEdit()) {
}
// include a view for plugins to extend
- $edit = elgg_view("blogs/options", array("object_type" => 'blog')) .
+ $edit = elgg_view("blogs/options", array("object_type" => 'blog', 'entity' => $blog)) .
elgg_view_likes($blog) . // include likes
$edit;