aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/actions
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 23:18:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 23:18:18 +0000
commit4afa50233029dad99d07a2c3e408bf68bbb4fb4e (patch)
tree9f740d8f0561a2c3b1b3cc68ba65446c326f6a36 /mod/blog/actions
parent1429e80a1276a9081e4148076e2eac588e55a439 (diff)
downloadelgg-4afa50233029dad99d07a2c3e408bf68bbb4fb4e.tar.gz
elgg-4afa50233029dad99d07a2c3e408bf68bbb4fb4e.tar.bz2
fixed blog sticky forms
git-svn-id: http://code.elgg.org/elgg/trunk@8377 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/actions')
-rw-r--r--mod/blog/actions/blog/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/actions/blog/save.php b/mod/blog/actions/blog/save.php
index dbbe25e04..18ddce786 100644
--- a/mod/blog/actions/blog/save.php
+++ b/mod/blog/actions/blog/save.php
@@ -6,7 +6,7 @@
*/
// start a new sticky form session in case of failure
-//elgg_make_sticky_form();
+elgg_make_sticky_form('blog');
// store errors to pass along
$error = FALSE;
@@ -129,7 +129,7 @@ if (!$error) {
if (!$error) {
if ($blog->save()) {
// remove sticky form entries
- elgg_clear_sticky_form();
+ elgg_clear_sticky_form('blog');
// remove autosave draft if exists
$blog->clearAnnotations('blog_auto_save');