From: Jan Schneider Date: Mon, 13 Dec 2010 17:42:50 +0000 (+0100) Subject: Correctly report functions in the trace. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b3f283b9b8b29b92dad52e1686917775a125a22d;p=horde.git Correctly report functions in the trace. --- diff --git a/framework/Exception/lib/Horde/Exception/Pear.php b/framework/Exception/lib/Horde/Exception/Pear.php index 31ae8f7c7..0f9d76c5e 100644 --- a/framework/Exception/lib/Horde/Exception/Pear.php +++ b/framework/Exception/lib/Horde/Exception/Pear.php @@ -53,8 +53,8 @@ class Horde_Exception_Pear extends Horde_Exception $pear_error = "\n\n" . 'PEAR Error:' . "\n"; foreach ($backtrace as $frame) { $pear_error .= ' ' - . (isset($frame['class']) ? $frame['class'] : 'unkown') - . (isset($frame['type']) ? $frame['type'] : 'unkown') + . (isset($frame['class']) ? $frame['class'] : '') + . (isset($frame['type']) ? $frame['type'] : '') . (isset($frame['function']) ? $frame['function'] : 'unkown') . ' ' . (isset($frame['file']) ? $frame['file'] : 'unkown') . ':' . (isset($frame['line']) ? $frame['line'] : 'unkown') . "\n";