mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 13:24:56 +01:00
MDL-31035 fix showuseridentity notice before settings upgrade
This commit is contained in:
parent
8aaa2370bc
commit
11323017d5
@ -3367,7 +3367,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