File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,6 @@ protected function handle(): int
75
75
continue ;
76
76
}
77
77
78
- if (!empty ($ mantisIssue ->getUpstreamTicket ())) {
79
- $ issues [] = [
80
- 'id ' => $ id ,
81
- 'icon ' => '<comment>!</comment> ' ,
82
- 'message ' => '<comment>Mantis issue already synchronized.</comment> ' ,
83
- 'issue ' => $ mantisIssue ->getUpstreamTicket (),
84
- ];
85
- continue ;
86
- }
87
-
88
78
$ newGithubIssue = GithubIssue::fromMantisIssue ($ mantisIssue );
89
79
90
80
$ filteredLabels = array_values (array_filter ($ labels , function ($ label ) use ($ mantisIssue ) {
@@ -104,7 +94,7 @@ protected function handle(): int
104
94
continue ;
105
95
}
106
96
107
- $ mantisIssue ->setUpstreamTicket ($ newGithubIssue ->getIssueUrl ());
97
+ $ mantisIssue ->setUpstreamTicket (trim ( $ mantisIssue -> getUpstreamTicket () . ' ' . $ newGithubIssue ->getIssueUrl () ));
108
98
$ patched = $ this ->mantisConnector ->patchUpstreamField ($ mantisIssue );
109
99
110
100
if ($ patched === false ) {
You can’t perform that action at this time.
0 commit comments