diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-01 15:22:32 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-01 15:22:32 +0100 |
commit | 891b7c6ea68a87127d51eb01b401a948f6ae3753 (patch) | |
tree | a375df9e412cc8ea8f29417471dbf32d81e2f9b8 /system/database/DB_active_rec.php | |
parent | d6abf118dcf018bf9d3535410daadf1135ad6c05 (diff) | |
parent | 67f71a415c4bd7a206fcfc1a6007d74af4590883 (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; |