diff options
author | lpsolit%gmail.com <> | 2009-05-23 19:39:22 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-05-23 19:39:22 +0200 |
commit | 58dedffde8e1e909e5d64f11b131453b0d477e70 (patch) | |
tree | 1149808da785cace3a28b1bb61b6f8e77366a415 /Bugzilla | |
parent | 056f404988e4070113bccfcbf1d82530112a6602 (diff) | |
download | bugzilla-58dedffde8e1e909e5d64f11b131453b0d477e70.tar.gz bugzilla-58dedffde8e1e909e5d64f11b131453b0d477e70.tar.xz |
Bug 487443: MS-SQL requires a different use of SUBSTRING in Bugzilla::User - Patch by Michael Thomas <m.thomas@valueclick.com> r/a=LpSolit
Diffstat (limited to 'Bugzilla')
-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) { |