summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-02-08 21:48:23 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-02-08 21:48:23 +0100
commitb35c3f5b978690a17e18c76fe1301b8f46d6710b (patch)
tree316634915108f1be6929ded5e66e196974f3dbbe
parent63c4591fb9db1c3711a93e985bc39f61d14476ff (diff)
changed order of SQL keywords in the $highlight array so OR would not be highlighted before ORDER BY
-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 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)
{