mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-08 15:33:53 +00:00
Oops! StringFormat wasn't suppose to make into final
This commit is contained in:
parent
fcaa685e77
commit
8673aec9fd
@ -596,10 +596,10 @@ bool RuleManager::RestoreRuleNotes(Database *db)
|
||||
}
|
||||
|
||||
std::string query(
|
||||
StringFormat(
|
||||
"UPDATE `rule_values` SET `notes` = '%s' WHERE `ruleset_id` = '%i' AND `rule_name` = '%s'",
|
||||
rule.notes.c_str(),
|
||||
atoi(row[0]),
|
||||
fmt::format(
|
||||
"UPDATE `rule_values` SET `notes` = '{}' WHERE `ruleset_id` = '{}' AND `rule_name` = '{}'",
|
||||
EscapeString(rule.notes),
|
||||
row[0],
|
||||
row[1]
|
||||
)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user