summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-08 00:06:51 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-08 00:06:51 +0200
commitd007243f15002bac68291fc7e8acbe6303f81a78 (patch)
tree9c7431cb835100d57af39f6c807659d5c58a32c2 /system/database
parentb514b029391c9559b567d2e2d5dd97f0e7de0be1 (diff)
flipped the $not flag for or_where_not_in()
http://codeigniter.com/bug_tracker/bug/4171/
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_active_rec.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 1820bd202..49d438727 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -483,7 +483,6 @@ class CI_DB_active_record extends CI_DB_driver {
* @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 @@ class CI_DB_active_record extends CI_DB_driver {
* @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 @@ class CI_DB_active_record extends CI_DB_driver {
* @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 @@ class CI_DB_active_record extends CI_DB_driver {
* @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 ');
}
// --------------------------------------------------------------------