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
fe68a1ce
Commit
fe68a1ce
authored
Jan 29, 2004
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 232447: Warns user about missing bug number instead of dying in GetBugLink().
r=justdave
parent
9044f51b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
globals.pl
globals.pl
+2
-1
No files found.
globals.pl
View file @
fe68a1ce
...
...
@@ -1007,7 +1007,8 @@ sub GetAttachmentLink {
sub
GetBugLink
{
my
(
$bug_num
,
$link_text
,
$comment_num
)
=
@_
;
detaint_natural
(
$bug_num
)
||
die
"GetBugLink() called with non-integer bug number"
;
$bug_num
||
return
"<missing bug number>"
;
detaint_natural
(
$bug_num
)
||
return
"<invalid bug number>"
;
# If we've run GetBugLink() for this bug number before, %::buglink
# will contain an anonymous array ref of relevent values, if not
...
...
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