[BUGFIX] Use runtime cache for getIndpEnv() for results which are NULL 06/58006/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 13:33:13 +0000 (15:33 +0200)
commitb0fbfa87b630f9ae5ed066f3a4a9d9e498f80252
tree1747d028546bcfe32429a2912829415b6f290ec8
parentb99e73498cdc24875d3c41ff23ce8b17e791561e
[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/58006
Tested-by: TYPO3com <no-reply@typo3.com>
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