diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-06 21:20:17 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-06 21:20:17 +0200 |
commit | 96863ce12d88b2126b80bf1b00a73eed1ad6be86 (patch) | |
tree | 0bf388460d73576fd7cab5a310e467492946ed45 /system/database | |
parent | e808aac2627c35d50082f814d9778c4bf976011c (diff) |
testing an escape issue
Diffstat (limited to 'system/database')
-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
{
|