From 4a941f7333a697695073923be49a4e74453383a3 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 17 Aug 2009 05:54:53 -0400 Subject: [PATCH] Remove newline in log_bug function (#1486047) --- program/include/bugs.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/bugs.inc b/program/include/bugs.inc index 1031bdb..8b926e0 100644 --- a/program/include/bugs.inc +++ b/program/include/bugs.inc @@ -73,7 +73,7 @@ if ($CONFIG['debug_level'] & 1) { $post_query = ($_SERVER['REQUEST_METHOD'] == 'POST' ? '?_task='.urlencode($_POST['_task']).'&_action='.urlencode($_POST['_action']) : ''); - $log_entry = sprintf("%s Error: %s%s (%s %s)\n", + $log_entry = sprintf("%s Error: %s%s (%s %s)", $program, $arg_arr['message'], $arg_arr['file'] ? sprintf(' in %s on line %d', $arg_arr['file'], $arg_arr['line']) : '', -- Gitblit v1.9.1