Merge remote-tracking branch 'skodak/w03_MDL-31035_m23_identitynotice'

This commit is contained in:
Sam Hemelryk
2012-01-16 14:38:47 +08:00
+1 -1
View File
@@ -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 {