diff --git a/server/genquery2/src/genquery2_sql.cpp b/server/genquery2/src/genquery2_sql.cpp index 9dad38d428..a0db642a45 100644 --- a/server/genquery2/src/genquery2_sql.cpp +++ b/server/genquery2/src/genquery2_sql.cpp @@ -436,7 +436,6 @@ namespace _opts.user_zone, min_perm_level); _state.values.emplace_back(std::string{_opts.user_name}); - _state.values.emplace_back(std::string{_opts.user_zone}); } else if (c_iter != end) { sql += fmt::format(" and pcu.user_name = ? and pcu.zone_name = '{}' and pcoa.access_type_id >= {}",