From ed6d03c6ebfa2cc5b1085c9dd0c6ab51d0338666 Mon Sep 17 00:00:00 2001 From: Tiago Mello Date: Tue, 29 Nov 2011 18:08:00 -0200 Subject: Bug 686971: Fix add_see_also to ignore empty values r/a=LpSolit --- Bugzilla/Bug.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/Bug.pm') 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); -- cgit v1.2.3-24-g4f1b