WebParser: Change to use RmReplaceVariables

This commit is contained in:
Birunthan Mohanathas 2013-07-12 23:15:18 +03:00
parent ff24a06827
commit e9fac27b46

View File

@ -784,10 +784,10 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue)
section.insert(0, L"["); section.insert(0, L"[");
section += L']'; section += L']';
// A non-WebParser measure was found, read a "dummy" key value // A non-WebParser measure was found.
if (!found) if (!found)
{ {
replacedTokens[token] = RmReadString(rm, L"DUMMY", section.c_str(), TRUE); replacedTokens[token] = RmReplaceVariables(rm, section.c_str());
} }
} }
} }