diff options
author | Tiago Mello <timello@gmail.com> | 2011-11-29 21:02:39 +0100 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2011-11-29 21:02:39 +0100 |
commit | e4e7ef0a8252330798afacb2901388a055607880 (patch) | |
tree | e3d221d44407dc415a79f01201699fb0ed48f3fd /Bugzilla | |
parent | 9a797e23c68dfe509236699264a4d15ea06022f9 (diff) | |
download | bugzilla-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.pm | 1 |
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); |