Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/lib/pkgbasefuncs.inc.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php
index 3e78309..ff1bc90 100644
--- a/web/lib/pkgbasefuncs.inc.php
+++ b/web/lib/pkgbasefuncs.inc.php
@@ -1041,6 +1041,9 @@ function pkgbase_edit_comment($comment) {
                $q.= "EditedTS = " . strval(time()) . " ";
                $q.= "WHERE ID = ".intval($comment_id);
                $dbh->exec($q);
+
+               render_comment($comment_id);
+
                return array(true, __("Comment has been edited."));
        } else {
                return array(false, __("You are not allowed to edit this 
comment."));
-- 
2.12.2

Reply via email to