From ca69cc67e8e72e84401a1489b57fef95b4fd05b8 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Wed, 22 May 2024 16:38:47 -0400 Subject: [PATCH] [Bug Fix] Fix issue with #hotfix (#4316) --- common/database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/database.cpp b/common/database.cpp index 6e1b7d92e..d150801b6 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -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) ) );