diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Table.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php index 38affa579..01b490a5d 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php @@ -110,8 +110,7 @@ class CI_Table { $new = array();
while(count($array) > 0)
{
- $temp = array_slice($array, 0, $col_limit);
- $array = array_diff($array, $temp);
+ $temp = array_splice($array, 0, $col_limit);
if (count($temp) < $col_limit)
{
|