Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Wrong context RuntimeException is never reached without context #942

Merged
merged 1 commit into from Nov 9, 2020
Merged

[BUGFIX] Wrong context RuntimeException is never reached without context #942

merged 1 commit into from Nov 9, 2020

Conversation

mp-sschreiber
Copy link
Contributor

Changed && in the condition to ||.

  • If $_SERVER['argv'][0] is not set, throw exception
  • If $_SERVER['argv'][0] is set, but does not contain the correct context, throw exception

Otherwise continue.

@helhum helhum merged commit 8f472d4 into TYPO3-Console:latest Nov 9, 2020
@helhum
Copy link
Member

helhum commented Nov 9, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants