Fix problems with the Horde::errorHandler() call.
authorGunnar Wrobel <p@rdus.de>
Mon, 6 Dec 2010 07:48:39 +0000 (08:48 +0100)
committerGunnar Wrobel <p@rdus.de>
Mon, 6 Dec 2010 07:48:39 +0000 (08:48 +0100)
commitf22195496067ce9bc640408429db8b2b7e65b9cf
tree1d3a27868460b71de942b7be769d36f7ab603297
parent74d16459ccf65799e46d14f2950c9695a4d2d1fb
Fix problems with the Horde::errorHandler() call.

I currently get a fatal error whithin dynamic Imp (WSOD). Apparently
Horde::errorHandler() gets called during shutdown. The stack trace I
get from the error that Horde::errorHandler() tries to log looks like
this:

Stack trace:
#0 [internal function]: Horde::errorHandler('<!DOCTYPE html ...', 5)
#1 [internal function]: ob_gzhandler()
#2 {main}

While I still need to identify the source of this error I believe the
logMessage() method should always ensure it can actually log
something.
framework/Core/lib/Horde.php