summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-04-24 14:27:01 +0000
committerfisharebest <fisharebest@gmail.com>2010-04-24 14:27:01 +0000
commit6e8a593eae2312e186b518576f543f76cac844fa (patch)
tree4099a6e3129195e4984cf3b7125bc7e4601550e5
parentff22c7e21ecfdc2eb3e2c623babff19005f8634b (diff)
downloadwebtrees-6e8a593eae2312e186b518576f543f76cac844fa.tar.gz
webtrees-6e8a593eae2312e186b518576f543f76cac844fa.tar.bz2
webtrees-6e8a593eae2312e186b518576f543f76cac844fa.zip
Formatting of error messages in logs
-rw-r--r--includes/functions/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions.php b/includes/functions/functions.php
index d4eb880ca7..146aee604e 100644
--- a/includes/functions/functions.php
+++ b/includes/functions/functions.php
@@ -378,7 +378,7 @@ function wt_error_handler($errno, $errstr, $errfile, $errline) {
$log_msg.="\n0 Error occurred on ";
} else {
$fmt_msg.="{$i} called from ";
- $log_msg.="{$i} called from ";
+ $log_msg.="\n{$i} called from ";
}
if (isset($backtrace[$i]["line"]) && isset($backtrace[$i]["file"])) {
$fmt_msg.="line <b>{$backtrace[$i]['line']}</b> of file <b>".basename($backtrace[$i]['file'])."</b>";