This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
OS: Win2003 DB:MSSQL Version:2.3.1.2
Hi, Joe
Whe edit a thread in EditThread.aspx, change the below forum, error occurs:
Below code in DBForums.cs:
//////////////////////////////////////////////////////////////////////
public static bool RecalculatePostStats(int forumId) { SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "mp_Forums_RecalculatePostStats", 5); //5 should be 1, sph.DefineSqlParameter("@ForumID", SqlDbType.Int, ParameterDirection.Input, forumId); int rowsAffected = Convert.ToInt32(sph.ExecuteScalar()); return (rowsAffected > 0); }
mp_Forums_RecalculatePostStats in sqlserver only 1 param, so error occurs!
Thanks!
Hi mjohn,
Thanks for the bug report and fix! I fixed my copy just now.
Best,
Joe