diff options
author | thomascube <thomas@roundcube.net> | 2009-08-17 09:54:53 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-08-17 09:54:53 +0000 |
commit | 4a941f7333a697695073923be49a4e74453383a3 (patch) | |
tree | fc8d004adb5c9dd6a88678c45d0a8e0684e9d2e7 /program/include/bugs.inc | |
parent | 80fbdaa2d9c011174035a821435fcdde667f578f (diff) |
Remove newline in log_bug function (#1486047)
Diffstat (limited to 'program/include/bugs.inc')
-rw-r--r-- | 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 1031bdb73..8b926e0d6 100644 --- a/program/include/bugs.inc +++ b/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']) : '', |