Commit 136171e5 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Rerender package comments after editing

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 482bd10a
......@@ -1041,6 +1041,9 @@ function pkgbase_edit_comment($comment) {
$q.= "EditedTS = " . strval(time()) . " ";
$q.= "WHERE ID = ".intval($comment_id);
return array(true, __("Comment has been edited."));
} else {
return array(false, __("You are not allowed to edit this comment."));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment