diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-01 18:41:45 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-01 18:41:45 +0100 |
commit | b6c7ec262523dc1ddb618c6aaa11c20fe833ba0f (patch) | |
tree | 989e85b77b67d3b7b6e027116361235279c72b2e /system/database/DB_active_rec.php | |
parent | b0b2d041ebad1382bf314fccbae1469a5fe7fad9 (diff) | |
parent | e3a68042c086acfc98ae273adbd8527af0c6ab8b (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; |