diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-01 15:01:55 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-01 15:01:55 +0100 |
commit | f7ec494c76accf123dcd657c01d80e0a24fbc7b7 (patch) | |
tree | d3873aab681bd16de76ca20a29e80b5daa1ac7fb /system/database/DB_active_rec.php | |
parent | aa8a36acdbb31b0850747ddf0d2aaff0ab7e657f (diff) | |
parent | 850f601edef5de5680510c900c3e613bc346fe1b (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; |