Skip to content
Browse files

Merge remote-tracking branch 'skodak/w03_MDL-31035_m22_identitynotice…

…' into MOODLE_22_STABLE
  • Loading branch information...
2 parents ff65ab2 + 7e6f69b commit 6f960202e775a5c7bdcddb2294eb0a3a4671c1a3 Sam Hemelryk committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
2 lib/moodlelib.php
@@ -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 {

0 comments on commit 6f96020

Please sign in to comment.
Something went wrong with that request. Please try again.