Fixed typo in GenericSQLQuery.
This commit is contained in:
parent
6bff818152
commit
9da1701354
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ namespace TShockAPI.DB
|
||||||
if (0 == wheres.Count)
|
if (0 == wheres.Count)
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|
||||||
return "WHERE {2}".SFormat(string.Join(", ", wheres.Select(v => v.Name + " = " + v.Value)));
|
return "WHERE {0}".SFormat(string.Join(", ", wheres.Select(v => v.Name + " = " + v.Value)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue