Skip to content

Commit 143b3a7

Browse files
Merge pull request #8575 from Sesquipedalian/2.1/ban_email
[2.1] Accepts wildcards in email-based ban triggers
2 parents 1ec5f99 + a1610ee commit 143b3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Themes/default/ManageBans.template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function template_ban_edit()
133133
<label for="email_check">', $txt['ban_on_email'], '</label>
134134
</dt>
135135
<dd>
136-
<input type="email" name="email" value="', $context['ban_suggestions']['email'], '" size="44" onfocus="document.getElementById(\'email_check\').checked = true;">
136+
<input type="text" name="email" value="', $context['ban_suggestions']['email'], '" size="44" onfocus="document.getElementById(\'email_check\').checked = true;">
137137
</dd>
138138
<dt>
139139
<input type="checkbox" name="ban_suggestions[]" id="user_check" value="user"', !empty($context['ban_suggestions']['user']) || isset($context['ban']['from_user']) ? ' checked' : '', '>

0 commit comments

Comments
 (0)