diff options
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index ac6e72711..58183a005 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1657,7 +1657,7 @@ sub is_available_username { $dbh->sql_position(q{':'}, 'eventdata') . "- 1)) = ?) OR (tokentype = 'emailnew' AND SUBSTRING(eventdata, (" . - $dbh->sql_position(q{':'}, 'eventdata') . "+ 1)) = ?)", + $dbh->sql_position(q{':'}, 'eventdata') . "+ 1), LENGTH(eventdata)) = ?)", undef, ($username, $username)); if ($eventdata) { |