summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-24 09:09:18 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-24 09:09:18 +0200
commit93dd2f2896979258fe52eaf937a3c0855b4bbcf1 (patch)
tree533b8436e2b7ce60fa9c114c19e81663f8731331 /system/database
parent4451454e190bdee2f865bd9d9e0fde0a6dff8b3c (diff)
Fix issue #1925 (order_by() with = FALSE)
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_query_builder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index 0eb5a9e45..a6e6e595f 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -975,7 +975,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
if ($escape === FALSE)
{
- $qb_orderby[] = array(array('field' => $orderby, 'direction' => $direction, $escape => FALSE));
+ $qb_orderby[] = array('field' => $orderby, 'direction' => $direction, 'escape' => FALSE);
}
else
{