[BUGFIX] Logging PHP errors to sys_log table does not work 71/22171/4
authorRobert Vock <robertvock82@gmail.com>
Tue, 9 Jul 2013 20:09:08 +0000 (22:09 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Tue, 9 Jul 2013 21:34:30 +0000 (23:34 +0200)
commit2cad42fa162ce811e11449f15b20dc5a681e025f
tree4a57e365c05f38c36fda28597d69254e189292a4
parent869b772946a53888125ecf1e8e31d50e9e6eab44
[BUGFIX] Logging PHP errors to sys_log table does not work

Logging PHP errors stopped working after changeset
3e309294309458279eef2adf08af6adb8ed4a867 when the  DatabaseConnection
class was changed.
The changed line tries to determine, if a database connection is
available and only writes the log entry if the connection was
already established.

Resolves: #49645
Releases: 6.1, 6.2
Change-Id: Idee413ed911a8c2d23f034ceadd17c955c98a337
Reviewed-on: https://review.typo3.org/22171
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/Error/ErrorHandler.php