summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2011-11-29 21:02:39 +0100
committerTiago Mello <timello@gmail.com>2011-11-29 21:02:39 +0100
commite4e7ef0a8252330798afacb2901388a055607880 (patch)
treee3d221d44407dc415a79f01201699fb0ed48f3fd /Bugzilla
parent9a797e23c68dfe509236699264a4d15ea06022f9 (diff)
downloadbugzilla-e4e7ef0a8252330798afacb2901388a055607880.tar.gz
bugzilla-e4e7ef0a8252330798afacb2901388a055607880.tar.xz
Bug 686971: Fix add_see_also to ignore empty values
r/a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 483a2a865..c2899f669 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -2844,6 +2844,7 @@ sub add_see_also {
$input = $input->name if blessed($input);
$input = trim($input);
+ return if !$input;
my ($class, $uri) = Bugzilla::BugUrl->class_for($input);