diff options
author | vlakoff <vlakoff@gmail.com> | 2013-09-08 13:54:57 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-09-08 13:54:57 +0200 |
commit | e6c4d5bcd1a65cfa2397457a6de771dc45800bfb (patch) | |
tree | f52eb642a24c4f3b2ccea7f4a8081fef3cff7ad3 /system/database/DB_query_builder.php | |
parent | df812738b0f310e62a6eb2a5bae2c18e9ae8b99f (diff) |
Code cleanup in db->order_by()
Diffstat (limited to 'system/database/DB_query_builder.php')
-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 e6a108209..b7b568b10 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php @@ -1152,7 +1152,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver { // Do we have a seed value? $orderby = ctype_digit((string) $orderby) - ? $orderby = sprintf($this->_random_keyword[1], $orderby) + ? sprintf($this->_random_keyword[1], $orderby) : $this->_random_keyword[0]; } elseif (empty($orderby)) |