Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Not sure if this has previously been picked up or corrected - but I found an SQL syntax bug in the Comment.cs class.In Comment.Save(), in ExecuteNonQuery during an update, the update script string (around ln 88):"UPDATE forumComments SET topicId = @topicId, memberId = @memberId, body = @body, WHERE id = @id"The comma before the 'WHERE' keyword should not be there, and causes an sql syntax exception upon execution.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
SQL Syntax bug in Comment.Save()
Not sure if this has previously been picked up or corrected - but I found an SQL syntax bug in the Comment.cs class.
In Comment.Save(), in ExecuteNonQuery during an update, the update script string (around ln 88):
"UPDATE forumComments SET topicId = @topicId, memberId = @memberId, body = @body, WHERE id = @id"
The comma before the 'WHERE' keyword should not be there, and causes an sql syntax exception upon execution.
is working on a reply...