Skip to content

Commit

Permalink
Refine project selection
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcdawkins committed Sep 30, 2024
1 parent 541bd5b commit ca46535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/CommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ protected function validateOrganizationInput(InputInterface $input, $filterByLin
throw new \BadMethodCallException('Organizations are not enabled');
}

if ($input->hasOption('project') && ($input->getOption('project') || ($currentProject = $this->getCurrentProject(true)) && $currentProject->hasProperty('organization'))) {
if (($input->hasOption('project') && $input->getOption('project')) || $this->getCurrentProject(true)) {
$this->validateInput($input);
}

Expand Down

0 comments on commit ca46535

Please sign in to comment.