commit | e6c4d5bcd1a65cfa2397457a6de771dc45800bfb | [log] [tgz] |
---|---|---|
author | vlakoff <vlakoff@gmail.com> | Sun Sep 08 13:54:57 2013 +0200 |
committer | vlakoff <vlakoff@gmail.com> | Sun Sep 08 13:54:57 2013 +0200 |
tree | f52eb642a24c4f3b2ccea7f4a8081fef3cff7ad3 | |
parent | df812738b0f310e62a6eb2a5bae2c18e9ae8b99f [diff] [blame] |
Code cleanup in db->order_by()
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php index e6a1082..b7b568b 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php
@@ -1152,7 +1152,7 @@ // 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))