Remove extraneous colon when setting TagId parameter in PGSQLUserProfilesData.GetUserAppData()

sedebug
Justin Clark-Casey (justincc) 2015-01-13 20:15:37 +00:00
parent 55e081548c
commit 55ae9a7d10
1 changed files with 1 additions and 1 deletions

View File

@ -979,7 +979,7 @@ namespace OpenSim.Data.PGSQL
using (NpgsqlCommand cmd = new NpgsqlCommand(query, dbcon)) using (NpgsqlCommand cmd = new NpgsqlCommand(query, dbcon))
{ {
cmd.Parameters.Add(m_database.CreateParameter("Id", props.UserId)); cmd.Parameters.Add(m_database.CreateParameter("Id", props.UserId));
cmd.Parameters.Add(m_database.CreateParameter(":TagId", props.TagId)); cmd.Parameters.Add(m_database.CreateParameter("TagId", props.TagId));
using (NpgsqlDataReader reader = cmd.ExecuteReader(CommandBehavior.SingleRow)) using (NpgsqlDataReader reader = cmd.ExecuteReader(CommandBehavior.SingleRow))
{ {