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
62ef5eab
Commit
62ef5eab
authored
Mar 19, 2000
by
seth%cs.brandeis.edu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug where the everconfirmed field was not being properly set via a bug_email.
parent
067e9238
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
bug_email.pl
contrib/bug_email.pl
+14
-3
No files found.
contrib/bug_email.pl
View file @
62ef5eab
...
...
@@ -37,7 +37,7 @@
#
# You need to work with bug_email.pl the MIME::Parser installed.
#
# $Id: bug_email.pl,v 1.
5 2000/03/15 22:29:45
seth%cs.brandeis.edu Exp $
# $Id: bug_email.pl,v 1.
6 2000/03/18 23:32:49
seth%cs.brandeis.edu Exp $
###############################################################
# 02/12/2000 (SML)
...
...
@@ -1183,7 +1183,7 @@ END
my
$reporter
=
""
;
my
$query
=
"insert into bugs (\n"
.
join
(
",\n"
,
@used_fields
)
.
", bug_status, creation_ts) values ( "
;
", bug_status, creation_ts
, everconfirmed
) values ( "
;
my
$tmp_reply
=
"These values were stored by bugzilla:\n"
;
my
$val
;
...
...
@@ -1216,7 +1216,18 @@ END
SendSQL
(
"SELECT now()"
);
my
$bug_when
=
FetchOneColumn
();
$query
.=
SqlQuote
(
"NEW"
)
.
", \'$bug_when\')\n"
;
my
$ever_confirmed
=
0
;
my
$state
=
SqlQuote
(
"UNCONFIRMED"
);
SendSQL
(
"SELECT votestoconfirm FROM products WHERE product = "
.
SqlQuote
(
$Control
{
'product'
})
.
";"
);
if
(
!
FetchOneColumn
())
{
$ever_confirmed
=
1
;
$state
=
SqlQuote
(
"NEW"
);
}
$query
.=
$state
.
", \'$bug_when\', $ever_confirmed)\n"
;
# $query .= SqlQuote( "NEW" ) . ", now(), " . SqlQuote($comment) . " )\n";
SendSQL
(
"SELECT userid FROM profiles WHERE login_name=\'$reporter\'"
);
...
...
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