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
70711889
Commit
70711889
authored
Jul 03, 2006
by
lpsolit%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 343364: Changing Multiple Bugs is broken - Patch by Olav Vitters…
Bug 343364: Changing Multiple Bugs is broken - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
parent
085a4fb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Bug.pm
Bugzilla/Bug.pm
+7
-7
No files found.
Bugzilla/Bug.pm
View file @
70711889
...
@@ -107,13 +107,6 @@ sub initBug {
...
@@ -107,13 +107,6 @@ sub initBug {
# If the bug ID isn't numeric, it might be an alias, so try to convert it.
# If the bug ID isn't numeric, it might be an alias, so try to convert it.
$bug_id
=
bug_alias_to_id
(
$bug_id
)
if
$bug_id
!~
/^0*[1-9][0-9]*$/
;
$bug_id
=
bug_alias_to_id
(
$bug_id
)
if
$bug_id
!~
/^0*[1-9][0-9]*$/
;
if
((
!
defined
$bug_id
)
||
(
!
$bug_id
)
||
(
!
detaint_natural
(
$bug_id
)))
{
# no bug number given or the alias didn't match a bug
$self
->
{
'bug_id'
}
=
$old_bug_id
;
$self
->
{
'error'
}
=
"InvalidBugId"
;
return
$self
;
}
# If the user is not logged in, sets $user_id to 0.
# If the user is not logged in, sets $user_id to 0.
# Else gets $user_id from the user login name if this
# Else gets $user_id from the user login name if this
# argument is not numeric.
# argument is not numeric.
...
@@ -126,6 +119,13 @@ sub initBug {
...
@@ -126,6 +119,13 @@ sub initBug {
$self
->
{
'who'
}
=
new
Bugzilla::
User
(
$user_id
);
$self
->
{
'who'
}
=
new
Bugzilla::
User
(
$user_id
);
if
((
!
defined
$bug_id
)
||
(
!
$bug_id
)
||
(
!
detaint_natural
(
$bug_id
)))
{
# no bug number given or the alias didn't match a bug
$self
->
{
'bug_id'
}
=
$old_bug_id
;
$self
->
{
'error'
}
=
"InvalidBugId"
;
return
$self
;
}
my
$custom_fields
=
""
;
my
$custom_fields
=
""
;
if
(
scalar
(
Bugzilla
->
custom_field_names
)
>
0
)
{
if
(
scalar
(
Bugzilla
->
custom_field_names
)
>
0
)
{
$custom_fields
=
", "
.
join
(
", "
,
Bugzilla
->
custom_field_names
);
$custom_fields
=
", "
.
join
(
", "
,
Bugzilla
->
custom_field_names
);
...
...
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