diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-01 14:01:58 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-01 14:01:58 +0100 |
commit | 3aaca2523de1a733c18473299cd3c72c9497869c (patch) | |
tree | 11d88239a0625e201c06f7bd78572862e6425a6c /system/database/DB_active_rec.php | |
parent | 005700340b444f3cfee8df98f5bf30b32c4a5085 (diff) | |
parent | 41e46a97a43b0d5080bb9ace1b9326266955ef21 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/DB_active_rec.php')
-rw-r--r-- | system/database/DB_active_rec.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 424735157..eaae23f30 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -236,7 +236,8 @@ class CI_DB_active_record extends CI_DB_driver { { if (strpos($item, '.') !== FALSE) { - return end(explode('.', $item)); + $item = explode('.', $item); + return end($item); } return $item; |