From 8ea2ce5f232134dce7a06302bf8d6e25f0d5a674 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 18 Oct 2013 17:34:40 +0530 Subject: [PATCH] Syntax highlighting for some system tables --- libraries/DisplayResults.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index a4b33e1321..ffd0a41f27 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -2831,8 +2831,7 @@ class PMA_DisplayResults if ($this->_isNeedToSyntaxHighlight($meta->name) && (trim($row[$i]) != '') ) { - - $row[$i] = PMA_Util::formatSql($row[$i]); + $row[$i] = '' . PMA_Util::formatSql($row[$i]) . ''; include_once $this->transformation_info[strtolower($this->__get('db'))][strtolower($this->__get('table'))][strtolower($meta->name)][0]; $transformation_plugin = new $this->transformation_info [strtolower($this->__get('db'))]