Fix on top of jmx's m.setvar commit for USER collection in Lua scripts

This commit is contained in:
Victor Hora 2018-09-19 19:41:49 -04:00
parent 45cdb0ed90
commit 6f458b5203

View File

@ -399,7 +399,13 @@ int Lua::setvar(lua_State *L) {
t->m_rules->m_secWebAppId.m_value,
var_value);
}
else if (collection == "USER") {
t->m_collections.m_user_collection->storeOrUpdateFirst(
variableName, t->m_collections.m_user_collection_key,
t->m_rules->m_secWebAppId.m_value,
var_value);
}
return 0;
}