diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-09-15 00:53:10 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-09-15 00:53:10 +0200 |
commit | 3424bf77ce638a2fd8e64ea76e874d3b9ead7414 (patch) | |
tree | e9133e545017b53b3872cfbf6504cb5491d5a0d0 /system | |
parent | c2950704d0cf8b7ae4d71900259b1c8ef3584c68 (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')
-rw-r--r-- | system/libraries/Profiler.php | 2 |
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 JOIN', 'ORDER BY', 'GROUP BY', 'LIMIT', 'INSERT', 'INTO', 'VALUES', 'UPDATE', 'OR', 'HAVING', 'OFFSET', 'NOT IN', 'IN', 'LIKE', 'NOT LIKE', 'COUNT', 'MAX', 'MIN', 'ON', 'AS', 'AVG', 'SUM', '(', ')'); + $highlight = array('SELECT', 'DISTINCT', 'FROM', 'WHERE', 'AND', 'LEFT JOIN', 'ORDER BY', 'GROUP BY', 'LIMIT', 'INSERT', 'INTO', 'VALUES', 'UPDATE', 'OR ', 'HAVING', 'OFFSET', 'NOT IN', 'IN', 'LIKE', 'NOT LIKE', 'COUNT', 'MAX', 'MIN', 'ON', 'AS', 'AVG', 'SUM', '(', ')'); $output = "\n\n"; |