Fixed for Bug 253, apparently someone forgot to clear the paramaeters before calling the next query.
This commit is contained in:
parent
15eb769580
commit
557d552956
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ namespace TShockAPI.DB
|
|||
MergedIDs = userName;
|
||||
else
|
||||
MergedIDs = MergedIDs + "," + userName;
|
||||
|
||||
com.Parameters.Clear();
|
||||
com.CommandText = "UPDATE Regions SET UserIds=@ids WHERE RegionName=@name AND WorldID=@worldid";
|
||||
com.AddParameter("@ids", MergedIDs);
|
||||
com.AddParameter("@name", regionName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue