diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-01 18:23:02 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-01 18:23:02 +0100 |
commit | 8e22cfdc2fe626bed2a3e570bc71f25d61d6546c (patch) | |
tree | 8fac11c939596396b9b3fb4aae83e8cf58e147dd /system/database/DB_active_rec.php | |
parent | 3793517a9c5c7f2c829d5d56bc5754606fa421de (diff) | |
parent | ea3eec9f670ea861a65a3e251d8c518ff47e2506 (diff) |
Merge upstream changes
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; |