flipped the $not flag for or_where_not_in()
http://codeigniter.com/bug_tracker/bug/4171/
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 1820bd2..49d4387 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -483,7 +483,6 @@
* @access public
* @param string The field to search
* @param array The values searched on
-
* @return object
*/
function where_in($key = NULL, $values = NULL)
@@ -502,7 +501,6 @@
* @access public
* @param string The field to search
* @param array The values searched on
-
* @return object
*/
function or_where_in($key = NULL, $values = NULL)
@@ -521,7 +519,6 @@
* @access public
* @param string The field to search
* @param array The values searched on
-
* @return object
*/
function where_not_in($key = NULL, $values = NULL)
@@ -540,12 +537,11 @@
* @access public
* @param string The field to search
* @param array The values searched on
-
* @return object
*/
function or_where_not_in($key = NULL, $values = NULL)
{
- return $this->_where_in($key, $values, FALSE, 'OR ');
+ return $this->_where_in($key, $values, TRUE, 'OR ');
}
// --------------------------------------------------------------------