summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Table.php3
-rw-r--r--user_guide/changelog.html3
2 files changed, 3 insertions, 3 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)
{
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 0d10d6446..de47d4785 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -117,7 +117,8 @@ SVN Commit: not currently released</p>
<li>Fixed a bug (#4413) where a URI containing slashes only e.g. 'http://example.com/index.php?//' would result in PHP errors</li>
<li>Fixed a bug in <kbd>link_tag()</kbd> of the <a href="helpers/url_helper.html">URL helper</a> where a key was passed instead of a value.</li>
<li>Fixed a bug in DB_result::row() that prevented it from returning individual fields with MySQL NULL values.</li>
- </ul>
+ <li>Fixed a bug in the table library that could cause identically constructed rows to be dropped (#3459).</li>
+</ul>
<h2>Version 1.6.1</h2>
<p>Release Date: February 12, 2008<br />