diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-08-22 10:57:57 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-08-22 10:57:57 +0000 |
commit | 556bbfe856e5a36f38a26c3ae8357eeba0d3b228 (patch) | |
tree | a883342543a587e0e92575c9d40e218872630183 | |
parent | 4553293053ba5ccdd369a181adda30e6ee0159eb (diff) | |
download | forums-556bbfe856e5a36f38a26c3ae8357eeba0d3b228.tar forums-556bbfe856e5a36f38a26c3ae8357eeba0d3b228.tar.gz forums-556bbfe856e5a36f38a26c3ae8357eeba0d3b228.tar.bz2 forums-556bbfe856e5a36f38a26c3ae8357eeba0d3b228.tar.xz forums-556bbfe856e5a36f38a26c3ae8357eeba0d3b228.zip |
specialchar sql query to ensure proper display if there are html characters within the sql query
git-svn-id: file:///svn/phpbb/trunk@6310 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/db/dbal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php index f774b5dcc3..4732f3c3a6 100644 --- a/phpBB/includes/db/dbal.php +++ b/phpBB/includes/db/dbal.php @@ -364,7 +364,7 @@ class dbal // Print out a nice backtrace... $backtrace = get_backtrace(); - $message .= ($sql) ? '<br /><br /><u>SQL</u><br /><br />' . $sql : ''; + $message .= ($sql) ? '<br /><br /><u>SQL</u><br /><br />' . htmlspecialchars($sql) : ''; $message .= ($backtrace) ? '<br /><br /><u>BACKTRACE</u><br />' . $backtrace : ''; $message .= '<br />'; } |