diff options
author | Greg Aker <greg.aker@ellislab.com> | 2011-02-01 08:29:21 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2011-02-01 08:29:21 +0100 |
commit | 02b3a5b49ffc4226c1980e8186de43f9ead29a9a (patch) | |
tree | a525d220b9f959c5f62b47219ba736d2f61f13f7 /system/libraries | |
parent | 0ecc06220733d180c181eb0133b10e66d509658c (diff) |
Fixed a bug where the table class would not clear table data after calling generate().
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Table.php | 3 |
1 files changed, 3 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; } |