summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Table.php3
-rw-r--r--user_guide/changelog.html12
2 files changed, 15 insertions, 0 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php
index 207ccc21d..cb2535ec8 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -367,6 +367,9 @@ class CI_Table {
$out .= $this->template['table_close'];
+ // Clear table class properties before generating the table
+ $this->clear();
+
return $out;
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 4fa27917f..39e6116a6 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -57,6 +57,18 @@ Change Log
<h1>Change Log</h1>
+<h2>Version 2.0.1</h2>
+<p>Release Date: not yet released</p>
+
+<h3>Bug Fixes for 2.0.1</h3>
+<ul>
+ <li>Libraries
+ <ul>
+ <li>Fixed a bug where the table class would not clear table data after calling generate().</li>
+ </ul>
+ </li>
+</ul>
+
<h2>Version 2.0.0</h2>
<p>Release Date: January 28, 2011<br />
Hg Tag: v2.0.0</p>