summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_mdb2.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-22 11:21:03 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-22 11:21:03 +0000
commit28ae5f4feefbda8ac1fe7553b4581c5042c9b1cb (patch)
tree379835c88f293880e19166f667c287ec8c6dcbfc /roundcubemail/program/include/rcube_mdb2.php
parent59985b3b42873d19c8712073a524c202ed4016b6 (diff)
- Don't add extra newline in sql debug log
git-svn-id: https://svn.roundcube.net/trunk@3528 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_mdb2.php')
-rw-r--r--roundcubemail/program/include/rcube_mdb2.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_mdb2.php b/roundcubemail/program/include/rcube_mdb2.php
index 876659c2c..a7fba1805 100644
--- a/roundcubemail/program/include/rcube_mdb2.php
+++ b/roundcubemail/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);
}
}