Merge remote-tracking branch 'skodak/w03_MDL-31035_m22_identitynotice' into MOODLE_22_STABLE

This commit is contained in:
Sam Hemelryk 2012-01-16 14:38:36 +08:00
commit 6f960202e7

View file

@ -3363,7 +3363,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 {