[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-13465-g4b61ccb
Michal Čihař
nijel at users.sourceforge.net
Mon Aug 8 16:23:33 CEST 2011
The branch, master has been updated
via 4b61ccb92e57e71381782dc3d62486d0fa29c527 (commit)
from 3803a1cde4d153bd5d43b34e16c9eb4c44fd8183 (commit)
- Log -----------------------------------------------------------------
commit 4b61ccb92e57e71381782dc3d62486d0fa29c527
Author: Michal Čihař <mcihar at suse.cz>
Date: Mon Aug 8 16:23:14 2011 +0200
Reintroduce trailing \n
-----------------------------------------------------------------------
Summary of changes:
libraries/common.lib.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 3b8a6b9..b03e5dc 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -288,13 +288,13 @@ function PMA_formatSql($parsed_sql, $unparsed_sql = '')
if (! is_array($parsed_sql)) {
// We don't so just return the input directly
// This is intended to be used for when the SQL Parser is turned off
- $formatted_sql = '<pre>' . "\n";
+ $formatted_sql = "<pre>\n";
if ($cfg['SQP']['fmtType'] == 'none' && $unparsed_sql != '') {
$formatted_sql .= $unparsed_sql;
} else {
$formatted_sql .= $parsed_sql;
}
- $formatted_sql .= '</pre>';
+ $formatted_sql .= "\n</pre>";
return $formatted_sql;
}
hooks/post-receive
--
phpMyAdmin
More information about the Git
mailing list