Correct some issues with the last commit

This commit is contained in:
root
2009-12-27 01:32:23 +01:00
committed by Melanie
parent 0369256720
commit b7951d5177

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)