From: Chuck Hagenbuch ' . htmlspecialchars($error) . '
';
}
- if ($error instanceof Exception) {
- if (is_null($file)) {
- $file = $error->getFile();
- }
- if (is_null($line)) {
- $line = $error->getLine();
- }
- }
-
if ($admin) {
if ($error instanceof Exception) {
$trace = $error;
@@ -132,9 +123,9 @@ class Horde
$backtrace = new Horde_Support_Backtrace($trace);
$errortext .= '' . $backtrace->getMap() . '
' . _("Details:") . '
';
+ $errortext .= '' . _("Details") . '
';
$errortext .= '' . _("The full error message is logged in Horde's log file, and is shown below only to administrators. Non-administrative users will not see error details.") . '
';
- $errortext .= '' . htmlspecialchars(print_r($error, true)) . '
' . htmlspecialchars(print_r($error, true)) . '