mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-18 19:01:32 +12:00
fix typo
This commit is contained in:
parent
a42add5b42
commit
4986fbb442
1 changed files with 1 additions and 1 deletions
|
@ -5812,7 +5812,7 @@ namespace HISP.Server
|
||||||
{
|
{
|
||||||
DbCommand sqlCommand = db.CreateCommand();
|
DbCommand sqlCommand = db.CreateCommand();
|
||||||
sqlCommand.CommandText = "UPDATE UserExt SET Hunger=@hunger WHERE Id=@id";
|
sqlCommand.CommandText = "UPDATE UserExt SET Hunger=@hunger WHERE Id=@id";
|
||||||
addWithValue(sqlCommand, "@Hunger", hunger);
|
addWithValue(sqlCommand, "@hunger", hunger);
|
||||||
addWithValue(sqlCommand, "@id", id);
|
addWithValue(sqlCommand, "@id", id);
|
||||||
sqlCommand.Prepare();
|
sqlCommand.Prepare();
|
||||||
sqlCommand.ExecuteNonQuery();
|
sqlCommand.ExecuteNonQuery();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue