commit | be8ec803cf8542acca9d2dd24c46b219fecabd9c | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Tue May 06 01:02:41 2008 +0000 |
committer | Derek Allard <derek.allard@ellislab.com> | Tue May 06 01:02:41 2008 +0000 |
tree | d3cb781c01f93eb3038a33b53d45c6577819137a | |
parent | ff390bdb457dbcfb5ba3e95323bce5f4a2c17497 [diff] [blame] |
Fixed a bug in the table library that could cause identically constructed rows to be dropped (#3459).
diff --git a/system/libraries/Table.php b/system/libraries/Table.php index 38affa5..01b490a 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php
@@ -110,8 +110,7 @@ $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) {