summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-12 13:30:10 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-12 13:30:10 +0200
commitcc02db959db576f256eb62887d326493e44d45af (patch)
tree6b42695de2783f81f03e15995a8f2b50a682b2f3 /system
parentf2ec8b870e29e0bf346e7adf1968b0f7660669b6 (diff)
Fix where_in()
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_query_builder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index 49592840b..54fb50f6a 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -599,7 +599,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
$where_in = array();
foreach ($values as $value)
{
- $wherein[] = $this->escape($value);
+ $where_in[] = $this->escape($value);
}
$prefix = (count($this->qb_where) === 0) ? $this->_group_get_type('') : $this->_group_get_type($type);