Skip to content

Commit

Permalink
[BUGFIX] Correct check for install tool requests in bootstrap
Browse files Browse the repository at this point in the history
Resolves: #83924
Releases: master, 8.7
Change-Id: If9f435c64addea63793586e131da19768749857c
Reviewed-on: https://review.typo3.org/55739
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
  • Loading branch information
susannemoog authored and bmack committed Feb 15, 2018
1 parent b4aa8b7 commit 4620533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/core/Classes/Core/Bootstrap.php
Expand Up @@ -606,7 +606,7 @@ protected function initializeErrorHandling()
$displayErrors = 1;
break;
default:
if (!TYPO3_REQUESTTYPE_INSTALL) {
if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
// Throw exception if an invalid option is set.
throw new \RuntimeException(
'The option $TYPO3_CONF_VARS[SYS][displayErrors] is not set to "-1", "0" or "1".',
Expand Down

0 comments on commit 4620533

Please sign in to comment.