[BUGFIX] Use runtime cache for getIndpEnv() for results which are NULL 05/58005/4
authorMichael Stucki <michael.stucki@typo3.org>
Thu, 23 Aug 2018 13:43:49 +0000 (15:43 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 2 Sep 2018 12:54:19 +0000 (14:54 +0200)
commitb7d9f9d88bfef77422cd0d94d3f44639fa600f54
treed670603ace2bb79220532c687f54fdd566fae266
parent266b49500a82d3a2b24e11d529a86fb1c3fcfcc6
[BUGFIX] Use runtime cache for getIndpEnv() for results which are NULL

isset() returns FALSE if a cached result is NULL.
Use array_key_exists() instead.

Resolves: #85946
Related: #69173
Releases: master, 8.7
Change-Id: I32bf695f7778213bacc51ed569250466685f1dac
Reviewed-on: https://review.typo3.org/58005
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php