mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
MDL-31035 fix showuseridentity notice before settings upgrade
This commit is contained in:
parent
60e99097e4
commit
33e5ac269e
@ -3365,7 +3365,7 @@ function get_extra_user_fields($context, $already = array()) {
|
||||
}
|
||||
|
||||
// Split showuseridentity on comma
|
||||
if ($CFG->showuseridentity === '') {
|
||||
if (empty($CFG->showuseridentity)) {
|
||||
// Explode gives wrong result with empty string
|
||||
$extra = array();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user