aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-02 09:15:43 -0400
committerCash Costello <cash.costello@gmail.com>2011-07-02 09:15:43 -0400
commit9e9b28479b6ecfd8685b2bba7f9ae5856ece9b2e (patch)
tree9e51eafec2c6c96b4c483ba51e7c220fd95943cf /mod/blog/views/default
parent5bc29c8fb0e01270a425a032bd46973d19968084 (diff)
downloadelgg-9e9b28479b6ecfd8685b2bba7f9ae5856ece9b2e.tar.gz
elgg-9e9b28479b6ecfd8685b2bba7f9ae5856ece9b2e.tar.bz2
fixed the blog categories code as the entity was not being passed
Diffstat (limited to 'mod/blog/views/default')
-rw-r--r--mod/blog/views/default/forms/blog/save.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/blog/views/default/forms/blog/save.php b/mod/blog/views/default/forms/blog/save.php
index 79309b6ef..8246fdec3 100644
--- a/mod/blog/views/default/forms/blog/save.php
+++ b/mod/blog/views/default/forms/blog/save.php
@@ -6,6 +6,7 @@
*/
$blog = get_entity($vars['guid']);
+$vars['entity'] = $blog;
$draft_warning = $vars['draft_warning'];
if ($draft_warning) {
@@ -133,6 +134,8 @@ $body_input
$tags_input
</div>
+$categories_input
+
<div>
<label for="blog_comments_on">$comments_label</label>
$comments_input
@@ -148,8 +151,6 @@ $body_input
$status_input
</div>
-$categories_input
-
<div class="elgg-foot">
<div class="elgg-subtext mbm">
$save_status <span class="blog-save-status-time">$saved</span>