summaryrefslogtreecommitdiffstats
path: root/system/libraries/Profiler.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-09-15 00:53:10 +0200
committerGreg Aker <greg.aker@ellislab.com>2010-09-15 00:53:10 +0200
commit3424bf77ce638a2fd8e64ea76e874d3b9ead7414 (patch)
treee9133e545017b53b3872cfbf6504cb5491d5a0d0 /system/libraries/Profiler.php
parentc2950704d0cf8b7ae4d71900259b1c8ef3584c68 (diff)
Fixed http://bitbucket.org/ellislab/codeigniter/issue/38/slight-bug-with-profilerphp
Slight tweak to SQL query display in output profiler.
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r--system/libraries/Profiler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index 6bc3c8799..db179976b 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -177,7 +177,7 @@ class CI_Profiler {
$this->CI->load->helper('text');
// Key words we want bolded
- $highlight = array('SELECT', 'DISTINCT', 'FROM', 'WHERE', 'AND', 'LEFT&nbsp;JOIN', 'ORDER&nbsp;BY', 'GROUP&nbsp;BY', 'LIMIT', 'INSERT', 'INTO', 'VALUES', 'UPDATE', 'OR', 'HAVING', 'OFFSET', 'NOT&nbsp;IN', 'IN', 'LIKE', 'NOT&nbsp;LIKE', 'COUNT', 'MAX', 'MIN', 'ON', 'AS', 'AVG', 'SUM', '(', ')');
+ $highlight = array('SELECT', 'DISTINCT', 'FROM', 'WHERE', 'AND', 'LEFT&nbsp;JOIN', 'ORDER&nbsp;BY', 'GROUP&nbsp;BY', 'LIMIT', 'INSERT', 'INTO', 'VALUES', 'UPDATE', 'OR&nbsp;', 'HAVING', 'OFFSET', 'NOT&nbsp;IN', 'IN', 'LIKE', 'NOT&nbsp;LIKE', 'COUNT', 'MAX', 'MIN', 'ON', 'AS', 'AVG', 'SUM', '(', ')');
$output = "\n\n";