commit:     78489b4fa10db20b52766a10146c95b66cc4b2d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 07:42:35 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 20:16:12 2019 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-bugzilla.git/commit/?id=78489b4f

Do not add cloned bug to 'depends on'

Bug: https://bugs.gentoo.org/521230
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 enter_bug.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/enter_bug.cgi b/enter_bug.cgi
index e03a88528..0a74af830 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -208,7 +208,7 @@ if ($cloned_bug_id) {
     $vars->{'short_desc'}     = $cloned_bug->short_desc;
     $vars->{'bug_file_loc'}   = $cloned_bug->bug_file_loc;
     $vars->{'keywords'}       = $cloned_bug->keywords;
-    $vars->{'dependson'}      = join (", ", $cloned_bug_id, 
@{$cloned_bug->dependson});
+    $vars->{'dependson'}      = join (", ", @{$cloned_bug->dependson});
     $vars->{'blocked'}        = join (", ", @{$cloned_bug->blocked});
     $vars->{'deadline'}       = $cloned_bug->deadline;
     $vars->{'estimated_time'} = $cloned_bug->estimated_time;

Reply via email to