From 87b8fcd84a134d11fa61af3035ba7b6bd7155924 Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 17 Aug 2009 09:54:53 +0000 Subject: Remove newline in log_bug function (#1486047) git-svn-id: https://svn.roundcube.net/trunk@2862 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/bugs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/bugs.inc b/roundcubemail/program/include/bugs.inc index 1031bdb73..8b926e0d6 100644 --- a/roundcubemail/program/include/bugs.inc +++ b/roundcubemail/program/include/bugs.inc @@ -73,7 +73,7 @@ function log_bug($arg_arr) 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']) : '', -- cgit v1.2.3