From 381c1def9cd224864a1c799eb6a9604b3fee1e13 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 31 May 2015 10:47:07 +0200 Subject: Add linebreak to exception HTML
 already breaks, but this ensures that in case the error is
printed to cli there will also be a line break.

Signed-off-by: Florian Pritz 
---
 index.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'index.php')

diff --git a/index.php b/index.php
index e3e06323a..f9a9b66ce 100644
--- a/index.php
+++ b/index.php
@@ -303,7 +303,8 @@ function _actual_exception_handler($ex)
 			if (method_exists($e, "get_data") && $e->get_data() !== NULL) {
 				$message .= 'Data: 
'.htmlspecialchars(var_export($e->get_data(), true)).'

'; } - $message .= 'Backtrace:
'.htmlspecialchars(str_replace(FCPATH, "./", $backtrace)).'
'; + $message .= 'Backtrace:
'; + $message .= '
'.htmlspecialchars(str_replace(FCPATH, "./", $backtrace)).'
'; $message .= 'thrown in '.htmlspecialchars($e->getFile()).' on line '.htmlspecialchars($e->getLine()).'
'; $message .= ''; } -- cgit v1.2.3-24-g4f1b