Fix for #npceditmass command failure on string-based updates

This commit is contained in:
Uleat 2019-10-07 22:15:24 -04:00
parent db085b7126
commit a26227f258

View File

@ -7740,7 +7740,7 @@ void command_npceditmass(Client *c, const Seperator *sep)
database.QueryDatabase(
fmt::format(
"UPDATE `npc_types` SET {} = {} WHERE id IN ({})",
"UPDATE `npc_types` SET {} = '{}' WHERE id IN ({})",
change_column,
change_value,
npc_ids_string