From b35c3f5b978690a17e18c76fe1301b8f46d6710b Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 8 Feb 2008 20:48:23 +0000 Subject: changed order of SQL keywords in the $highlight array so OR would not be highlighted before ORDER BY --- system/libraries/Profiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries') diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index eb2f25094..8a45933e1 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -125,7 +125,7 @@ class CI_Profiler { } else { - $highlight = array('SELECT', 'FROM', 'WHERE', 'AND', 'OR', 'LEFT JOIN', 'ORDER BY', 'LIMIT', 'INSERT', 'INTO', 'VALUES', 'UPDATE'); + $highlight = array('SELECT', 'FROM', 'WHERE', 'AND', 'LEFT JOIN', 'ORDER BY', 'LIMIT', 'INSERT', 'INTO', 'VALUES', 'UPDATE', 'OR'); foreach ($this->CI->db->queries as $key => $val) { -- cgit v1.2.3-24-g4f1b