diff options
author | Andrey Andreev <narf@devilix.net> | 2017-07-10 13:51:08 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-07-10 13:51:08 +0200 |
commit | 71a78c2c5ca485eac779622870a909091ec0a439 (patch) | |
tree | ee7dfc3bcd3918c9b44e52d4f93e9e42baafd2f1 | |
parent | e5b9f66a92c6352ca725520db4d9390247088a5a (diff) |
[ci skip] Fix #5178 (regression caused by #5168)
-rw-r--r-- | system/database/DB_query_builder.php | 2 |
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; |