-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.6, 4.2.1, 4.3
The code has the clear intent that it shouldn't show the button to guests, but it's written using the "and" operator and isn't working correctly with operator precedence. Adding parentheses or using the "&&" operator will fix the issue. See https://stackoverflow.com/a/2803576/2314
Simple fix at https://github.com/Genealogical-Studies/moodle/tree/fix_guest_login
- has a non-specific relationship to
-
MDL-74990 Policy: Ban the use of `and`, and `or`
-
- Closed
-