diff --git a/classes/structure.php b/classes/structure.php index 6d02fa1..b634c4a 100644 --- a/classes/structure.php +++ b/classes/structure.php @@ -770,7 +770,7 @@ class mod_attendance_structure { ); $allfields = get_all_user_name_fields(); if (!empty($CFG->showuseridentity)) { - $allfields = array_merge($allfields, explode(',', $CFG->showuseridentity)); + $allfields = array_merge($allfields, explode(',', $CFG->showuseridentity)); } foreach ($allfields as $namefield) {