Correct some issues with the last commit

avinationmerge
root 2009-12-27 01:32:23 +01:00
parent f5c310d9d4
commit a18f4964cf
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ namespace OpenSim.Data.MySQL
foreach (FieldInfo fi in m_Fields.Values)
{
names.Add(fi.Name);
values.Add(fi.GetValue(row).ToString());
values.Add("?" + fi.Name);
cmd.Parameters.AddWithValue(fi.Name, fi.GetValue(row).ToString());
}
if (m_DataField != null)