mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-31035 fix showuseridentity notice before settings upgrade
This commit is contained in:
parent
60e99097e4
commit
33e5ac269e
1 changed files with 1 additions and 1 deletions
|
@ -3365,7 +3365,7 @@ function get_extra_user_fields($context, $already = array()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Split showuseridentity on comma
|
// Split showuseridentity on comma
|
||||||
if ($CFG->showuseridentity === '') {
|
if (empty($CFG->showuseridentity)) {
|
||||||
// Explode gives wrong result with empty string
|
// Explode gives wrong result with empty string
|
||||||
$extra = array();
|
$extra = array();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue