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
cec56973
Commit
cec56973
authored
Apr 09, 2009
by
lpsolit%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a warning thrown in the web server error log (due to bug 454251)
parent
1ae4394d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Attachment.pm
Bugzilla/Attachment.pm
+2
-1
No files found.
Bugzilla/Attachment.pm
View file @
cec56973
...
...
@@ -613,12 +613,13 @@ sub _check_filename {
sub
_check_is_private
{
my
(
$invocant
,
$is_private
)
=
@_
;
$is_private
=
$is_private
?
1
:
0
;
if
(((
!
ref
$invocant
&&
$is_private
)
||
(
ref
$invocant
&&
$invocant
->
isprivate
!=
$is_private
))
&&
!
Bugzilla
->
user
->
is_insider
)
{
ThrowUserError
(
'user_not_insider'
);
}
return
$is_private
?
1
:
0
;
return
$is_private
;
}
sub
_check_is_url
{
...
...
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