diff --git a/user/selector/lib.php b/user/selector/lib.php index ffe714c314a..b8c20c2a3c6 100644 --- a/user/selector/lib.php +++ b/user/selector/lib.php @@ -624,11 +624,14 @@ abstract class user_selector_base { $checked = ''; } $name = 'userselector_' . $name; - $output = '

' . - // For the benefit of brain-dead IE, the id must be different from the name of the hidden form field above. - // It seems that document.getElementById('frog') in IE will return and element with name="frog". - ' ' . - '

\n"; + // For the benefit of brain-dead IE, the id must be different from the name of the hidden form field above. + // It seems that document.getElementById('frog') in IE will return and element with name="frog". + $output = '
' . + ' +
\n"; user_preference_allow_ajax_update($name, PARAM_BOOL); return $output; }