diff options
author | Tiago Mello <timello@gmail.com> | 2011-11-29 18:08:00 -0200 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2011-11-29 18:08:00 -0200 |
commit | ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666 (patch) | |
tree | 4dc0ed9eb3059beb7e8919ea7f3218b8203128fa /Bugzilla | |
parent | 493903a3f7c2d0e573f57319d6afa840f4051c0c (diff) | |
download | bugs-ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666.tar bugs-ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666.tar.gz bugs-ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666.tar.bz2 bugs-ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666.tar.xz bugs-ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666.zip |
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 d86f38e01..d49a4dc26 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2838,6 +2838,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); |