diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index 520737809b..b0b4b65331 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -3160,12 +3160,6 @@ func UpdateCommentContent(ctx *context.Context) {
 
 	oldContent := comment.Content
 	comment.Content = ctx.FormString("content")
-	if len(comment.Content) == 0 {
-		ctx.JSON(http.StatusOK, map[string]any{
-			"content": "",
-		})
-		return
-	}
 	if err = issue_service.UpdateComment(ctx, comment, ctx.Doer, oldContent); err != nil {
 		ctx.ServerError("UpdateComment", err)
 		return