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 +++ 1 file changed, 3 insertions(+) (limited to 'system') 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; } -- cgit v1.2.3-24-g4f1b