summaryrefslogtreecommitdiffstats
path: root/system/database/DB_query_builder.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-07-10 13:51:08 +0200
committerAndrey Andreev <narf@devilix.net>2017-07-10 13:51:08 +0200
commit71a78c2c5ca485eac779622870a909091ec0a439 (patch)
treeee7dfc3bcd3918c9b44e52d4f93e9e42baafd2f1 /system/database/DB_query_builder.php
parente5b9f66a92c6352ca725520db4d9390247088a5a (diff)
[ci skip] Fix #5178 (regression caused by #5168)
Diffstat (limited to 'system/database/DB_query_builder.php')
-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 7677f5b40..81603bf31 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -1403,7 +1403,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
// ORDER BY usage is often problematic here (most notably
// on Microsoft SQL Server) and ultimately unnecessary
// for selecting COUNT(*) ...
- $qb_orderby = $this->qb_order_by;
+ $qb_orderby = $this->qb_orderby;
$qb_cache_orderby = $this->qb_cache_orderby;
$this->qb_orderby = $this->qb_cache_orderby = NULL;