-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.4.5
-
MOODLE_24_STABLE
If you have a condition of "Users country is equal to Mexico" this condition is not met even if the users profile states it is set to Mexico in their profile.
This is caused because the database only stores the 2 character ISO country code so Mexico would be MX and hence the condition above would never be met.
If however the condition was changed to "Users country is equal to MX" the condition would be met and the application would behave as expected.
Solution, disable the users ability to enter any text in to users fields where the available entries are set to a drop down list and ensure this is applied to any is equal to conditions.