commit | db0c06247949a4def38bcb0c0cf1239312140a81 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Wed Feb 29 19:02:46 2012 +0200 |
committer | Andrey Andreev <narf@bofh.bg> | Wed Feb 29 19:02:46 2012 +0200 |
tree | 56a98e57365cd02fc1685617162c5ec26e3ce055 | |
parent | 0df831d31f00d1b00b17a452dec04a17aaeb825f [diff] |
Change end() usage due to E_STRICT messages
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 4247351..eaae23f 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php
@@ -236,7 +236,8 @@ { if (strpos($item, '.') !== FALSE) { - return end(explode('.', $item)); + $item = explode('.', $item); + return end($item); } return $item;