summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-22 11:21:03 +0000
committeralecpl <alec@alec.pl>2010-04-22 11:21:03 +0000
commit5318bac11dd2de6574c81ad4601eadbaf4cca0f4 (patch)
treeaf6371c5e4292ee50d8d7c6315b4df81e5cada2b /program
parentdbd069154a00a563464b4f2dd4088cabdf5fc652 (diff)
- Don't add extra newline in sql debug log
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_mdb2.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php
index 876659c2c..a7fba1805 100644
--- a/program/include/rcube_mdb2.php
+++ b/program/include/rcube_mdb2.php
@@ -736,8 +736,7 @@ function mdb2_debug_handler(&$db, $scope, $message, $context = array())
{
if ($scope != 'prepare')
{
- $debug_output = $scope . '('.$db->db_index.'): ';
- $debug_output .= $message . $db->getOption('log_line_break');
+ $debug_output = $scope . '('.$db->db_index.'): ' . $message;
write_log('sql', $debug_output);
}
}