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
4e36bf4d
You need to sign in or sign up before continuing.
Commit
4e36bf4d
authored
Sep 27, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 597772: Make add_see_also check for undef input
r=timello, a=mkanat
parent
cef0de25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Bug.pm
Bugzilla/Bug.pm
+5
-0
No files found.
Bugzilla/Bug.pm
View file @
4e36bf4d
...
@@ -2795,6 +2795,11 @@ sub add_see_also {
...
@@ -2795,6 +2795,11 @@ sub add_see_also {
my
(
$self
,
$input
,
$skip_recursion
)
=
@_
;
my
(
$self
,
$input
,
$skip_recursion
)
=
@_
;
$input
=
trim
(
$input
);
$input
=
trim
(
$input
);
if
(
!
$input
)
{
ThrowCodeError
(
'param_required'
,
{
function
=>
'add_see_also'
,
param
=>
'$input'
});
}
# If a bug id/alias has been taken, then treat it
# If a bug id/alias has been taken, then treat it
# as a link to the local Bugzilla.
# as a link to the local Bugzilla.
my
$local_bug_uri
=
correct_urlbase
()
.
"show_bug.cgi?id="
;
my
$local_bug_uri
=
correct_urlbase
()
.
"show_bug.cgi?id="
;
...
...
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