From 02b3a5b49ffc4226c1980e8186de43f9ead29a9a Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 1 Feb 2011 01:29:21 -0600 Subject: Fixed a bug where the table class would not clear table data after calling generate(). --- system/libraries/Table.php | 3 +++ user_guide/changelog.html | 12 ++++++++++++ 2 files changed, 15 insertions(+) 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

Change Log

+

Version 2.0.1

+

Release Date: not yet released

+ +

Bug Fixes for 2.0.1

+ +

Version 2.0.0

Release Date: January 28, 2011
Hg Tag: v2.0.0

-- cgit v1.2.3-24-g4f1b