Oops! StringFormat wasn't suppose to make into final

This commit is contained in:
Uleat 2019-09-06 20:04:08 -04:00
parent fcaa685e77
commit 8673aec9fd

View File

@ -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]
) )
); );