diff options
Diffstat (limited to 'mod/blog/lib')
-rw-r--r-- | mod/blog/lib/blog.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index 062a8a0eb..fdd408feb 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -373,6 +373,8 @@ function blog_prepare_form_vars($post = NULL, $revision = NULL) { $values[$field] = $post->$field; } + $values['entity'] = $post; + // load the revision annotation if requested if ($revision instanceof ElggAnnotation && $revision->entity_guid == $post->getGUID()) { $values['revision'] = $revision; |