[BUGFIX] Do not iterate over empty logger configuration 53/54653/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Wed, 15 Nov 2017 14:23:32 +0000 (15:23 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Wed, 15 Nov 2017 14:44:06 +0000 (15:44 +0100)
commit927365df299366db6fca060350dfef9be64501c1
tree9a9fd53d17d61a4e1b0746eea5025cecb38bad09
parent4f17f87e747e48de1ddc46d6577d075187545d49
[BUGFIX] Do not iterate over empty logger configuration

Fixes PHP notices thrown by accessing non existing array key.

Resolves: #83004
Releases: master
Change-Id: Ib5ff0ace0c9eb9a9987693176c4bee25026e2eb8
Reviewed-on: https://review.typo3.org/54653
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Classes/Log/LogManager.php