diff options
author | Kyle Farris <kylefarris@gmail.com> | 2011-08-31 17:59:12 +0200 |
---|---|---|
committer | Kyle Farris <kylefarris@gmail.com> | 2011-08-31 17:59:12 +0200 |
commit | 81ef70f32951de5f7b4196c1db9ce969133362dd (patch) | |
tree | 66d2a5a2e73223849efef35238a0a46620ec696e /system/database | |
parent | c4234c1ad57cf0b4545c6bc553ce3c9781625505 (diff) |
One more formatting fix.
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_active_rec.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 076cc7ce4..59cd1972c 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -664,11 +664,11 @@ class CI_DB_active_record extends CI_DB_driver { $v = $this->escape_like_str($v); - if ($side == 'none') - { - $like_statement = $prefix." $k $not LIKE '{$v}'"; - } - elseif ($side == 'before') + if ($side == 'none') + { + $like_statement = $prefix." $k $not LIKE '{$v}'"; + } + elseif ($side == 'before') { $like_statement = $prefix." $k $not LIKE '%{$v}'"; } |