File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 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
7575 continue ;
7676 }
7777
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-
8878 $ newGithubIssue = GithubIssue::fromMantisIssue ($ mantisIssue );
8979
9080 $ filteredLabels = array_values (array_filter ($ labels , function ($ label ) use ($ mantisIssue ) {
@@ -104,7 +94,7 @@ protected function handle(): int
10494 continue ;
10595 }
10696
107- $ mantisIssue ->setUpstreamTicket ($ newGithubIssue ->getIssueUrl ());
97+ $ mantisIssue ->setUpstreamTicket (trim ( $ mantisIssue -> getUpstreamTicket () . ' ' . $ newGithubIssue ->getIssueUrl () ));
10898 $ patched = $ this ->mantisConnector ->patchUpstreamField ($ mantisIssue );
10999
110100 if ($ patched === false ) {
You can’t perform that action at this time.
0 commit comments