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
59ef7920
Commit
59ef7920
authored
Oct 18, 2005
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 312773 attachment.cgi is broken due to bug 309681
Patch by FrÃÂ
©
dÃÂ
©
ric Buclin <LpSolit@gmail.com> r=joel, a=justdave
parent
acb05a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
attachment.cgi
attachment.cgi
+2
-2
No files found.
attachment.cgi
View file @
59ef7920
...
...
@@ -218,7 +218,7 @@ sub validateCanChangeAttachment
ON bugs.bug_id = attachments.bug_id
WHERE attach_id = $attachid"
);
my
$productid
=
FetchOneColumn
();
Bugzilla
->
user
->
can_edit_product
_id
(
$productid
)
Bugzilla
->
user
->
can_edit_product
(
$productid
)
||
ThrowUserError
(
"illegal_attachment_edit"
,
{
attach_id
=>
$attachid
});
}
...
...
@@ -230,7 +230,7 @@ sub validateCanChangeBug
FROM bugs
WHERE bug_id = $bugid"
);
my
$productid
=
FetchOneColumn
();
CanEditProductId
(
$productid
)
Bugzilla
->
user
->
can_edit_product
(
$productid
)
||
ThrowUserError
(
"illegal_attachment_edit_bug"
,
{
bug_id
=>
$bugid
});
}
...
...
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