[BUGFIX] Logging PHP errors to sys_log table does not work 66/22166/3
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:22:32 +0000 (23:22 +0200)
commit151b56f48a1f5575b151bcb210d788ffdb0c0bc5
treef6e56e12cdfb4a898d0736fe15371e1f20a21e69
parent5adfc5f45e18dd9dad4565f4d149ab09e6212d40
[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/22166
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/Error/ErrorHandler.php