summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/DB_active_rec.php')
-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 4eff400c1..818c8dd83 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -435,7 +435,6 @@ class CI_DB_active_record extends CI_DB_driver {
if ( ! is_null($v))
{
-
if ($escape === TRUE)
{
// exception for "field<=" keys
@@ -456,16 +455,13 @@ class CI_DB_active_record extends CI_DB_driver {
{
$k .= ' =';
}
-
}
else
{
-
if ($escape === TRUE)
{
$k = $this->_protect_identifiers($k, TRUE);
- }
-
+ }
}
$this->ar_where[] = $prefix.$k.$v;