From abd4644e762a82da83506fdb56d56f52c0fc615f Mon Sep 17 00:00:00 2001 From: Martin Saturka Date: Mon, 18 Feb 2013 16:39:03 +0100 Subject: [PATCH] CS-4579: done --- .../template_engine/metaclasses/MetaActionSubmit_Comment.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/newscoop/template_engine/metaclasses/MetaActionSubmit_Comment.php b/newscoop/template_engine/metaclasses/MetaActionSubmit_Comment.php index cd8863890a..a174181c14 100755 --- a/newscoop/template_engine/metaclasses/MetaActionSubmit_Comment.php +++ b/newscoop/template_engine/metaclasses/MetaActionSubmit_Comment.php @@ -227,7 +227,9 @@ public function takeAction(CampContext &$p_context) $this->m_properties['rejected'] = false; $this->m_error = ACTION_OK; - return true; + + header('Location: ' . $_SERVER['REQUEST_URI'], true, 303); + exit(0); } }