diff options
Diffstat (limited to 'system/database/DB_active_rec.php')
-rw-r--r-- | system/database/DB_active_rec.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 23a5a7adf..b2638f25c 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -447,7 +447,10 @@ class CI_DB_active_record extends CI_DB_driver { $k .= ' =';
}
- $v = ' '.$this->escape($v);
+ if ($v != '')
+ {
+ $v = ' '.$this->escape($v);
+ }
}
else
{
|