Skip to content

Commit

Permalink
[#jira] Fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
larowlan committed Jan 17, 2019
1 parent 5044bb0 commit eb7539a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Visit.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
$output->writeln('<error>No active ticket, please use tl visit {ticket_id} to specifiy a ticket.</error>');
return;
}
$url = $this->connector->ticketUrl($issue_number, $data ? $data->connector_id : $this->connector->spotConnector($issue_number, $input, $output));
$url = $this->connector->ticketUrl($issue_number, isset($data) ? $data->connector_id : $this->connector->spotConnector($issue_number, $input, $output));
$this->open($url, $output);
}

Expand Down

0 comments on commit eb7539a

Please sign in to comment.