X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b3139bf3f37b3b0244efea8b4b5e5a7d0bc90095..624f31fdf2c7726745dbfc53b7a16be6ff715023:/include/stg/user_property.h diff --git a/include/stg/user_property.h b/include/stg/user_property.h index 398c4579..f2421213 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -392,7 +392,7 @@ else inline std::string USER_PROPERTIES::GetPropertyValue(const std::string & name) const { -std::map::const_iterator it = properties.find(name); +std::map::const_iterator it = properties.find(ToLower(name)); if (it == properties.end()) return ""; return it->second->ToString(); @@ -401,7 +401,7 @@ return it->second->ToString(); inline bool USER_PROPERTIES::Exists(const std::string & name) const { -return properties.find(name) != properties.end(); +return properties.find(ToLower(name)) != properties.end(); } //------------------------------------------------------------------------- //-------------------------------------------------------------------------