summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
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
{