Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
336bf13a
Commit
336bf13a
authored
Jul 09, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 150925: make email address changes work.
2xr=bbaetz
parent
c1c07ea6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
Token.pm
Bugzilla/Token.pm
+3
-4
Token.pm
Token.pm
+3
-4
No files found.
Bugzilla/Token.pm
View file @
336bf13a
...
...
@@ -257,10 +257,9 @@ sub HasEmailChangeToken {
my
(
$userid
)
=
@_
;
&::
SendSQL
(
"SELECT token FROM tokens
WHERE userid = $userid
AND tokentype = 'emailnew'
OR tokentype = 'emailold' LIMIT 1"
);
&::
SendSQL
(
"SELECT token FROM tokens WHERE userid = $userid "
.
"AND (tokentype = 'emailnew' OR tokentype = 'emailold') "
.
"LIMIT 1"
);
my
(
$token
)
=
&::
FetchSQLData
();
return
$token
;
...
...
Token.pm
View file @
336bf13a
...
...
@@ -257,10 +257,9 @@ sub HasEmailChangeToken {
my
(
$userid
)
=
@_
;
&::
SendSQL
(
"SELECT token FROM tokens
WHERE userid = $userid
AND tokentype = 'emailnew'
OR tokentype = 'emailold' LIMIT 1"
);
&::
SendSQL
(
"SELECT token FROM tokens WHERE userid = $userid "
.
"AND (tokentype = 'emailnew' OR tokentype = 'emailold') "
.
"LIMIT 1"
);
my
(
$token
)
=
&::
FetchSQLData
();
return
$token
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment