[Bug Fix] Fix issue with #hotfix (#4316)

This commit is contained in:
Alex King 2024-05-22 16:38:47 -04:00 committed by GitHub
parent 099c6d657b
commit ca69cc67e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -741,7 +741,7 @@ bool Database::SetVariable(const std::string& name, const std::string& value)
auto l = VariablesRepository::GetWhere(
*this,
fmt::format(
"`name` = '{}'",
"`varname` = '{}'",
Strings::Escape(name)
)
);