diff --git a/Website/Providers/DataProviders/SqlDataProvider/07.01.02.SqlDataProvider b/Website/Providers/DataProviders/SqlDataProvider/07.01.02.SqlDataProvider index b27513a8208..30e4a8a8385 100644 --- a/Website/Providers/DataProviders/SqlDataProvider/07.01.02.SqlDataProvider +++ b/Website/Providers/DataProviders/SqlDataProvider/07.01.02.SqlDataProvider @@ -515,10 +515,10 @@ BEGIN SET CommentXML.modify('replace value of (/root/comment[1]/text())[1] with sql:variable("@cdataComment")'), Comment = NULL WHERE JournalId = @JournalId AND CommentId = @CommentId AND CommentXML.exist('/root/comment') = 1 - END - - SELECT @CommentId + END END +SELECT @CommentId + GO