]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed the blog categories code as the entity was not being passed
authorCash Costello <cash.costello@gmail.com>
Sat, 2 Jul 2011 13:15:43 +0000 (09:15 -0400)
committerCash Costello <cash.costello@gmail.com>
Sat, 2 Jul 2011 13:15:43 +0000 (09:15 -0400)
mod/blog/views/default/forms/blog/save.php

index 79309b6ef94a3ff8002055f0a07d035a72261c54..8246fdec3223291485885328cb79dfd44b238b4d 100644 (file)
@@ -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>