From: Cash Costello Date: Sat, 2 Jul 2011 13:15:43 +0000 (-0400) Subject: fixed the blog categories code as the entity was not being passed X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9e9b28479b6ecfd8685b2bba7f9ae5856ece9b2e;p=lorea%2Felgg.git fixed the blog categories code as the entity was not being passed --- 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 +$categories_input +
$comments_input @@ -148,8 +151,6 @@ $body_input $status_input
-$categories_input -
$save_status $saved