From 13d4c595a52234dbeb8168372a9ab99b4dfe05e9 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 20 Jul 2009 12:35:17 +0200 Subject: [PATCH] Special xdebug handling is only necessary for var_dump(). --- framework/Core/lib/Horde.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index e176172dd..1468322eb 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -231,11 +231,7 @@ class Horde if (is_object($error)) { $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.") . '

'; - if (extension_loaded('xdebug')) { - $errortext .= '
' . print_r($error, true); - } else { - $errortext .= '

' . htmlspecialchars(print_r($error, true)) . '

'; - } + $errortext .= '

' . htmlspecialchars(print_r($error, true)) . '

'; } } elseif ($log) { $errortext .= '

' . _("Details have been logged for the administrator.") . '

'; -- 2.11.0