mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-22 01:22:27 +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(
|
std::string query(
|
||||||
StringFormat(
|
fmt::format(
|
||||||
"UPDATE `rule_values` SET `notes` = '%s' WHERE `ruleset_id` = '%i' AND `rule_name` = '%s'",
|
"UPDATE `rule_values` SET `notes` = '{}' WHERE `ruleset_id` = '{}' AND `rule_name` = '{}'",
|
||||||
rule.notes.c_str(),
|
EscapeString(rule.notes),
|
||||||
atoi(row[0]),
|
row[0],
|
||||||
row[1]
|
row[1]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user