summaryrefslogtreecommitdiffstats
path: root/system/libraries/Table.php
diff options
context:
space:
mode:
authorGeorge Petculescu <gxgpet@gmail.com>2016-10-20 00:02:17 +0200
committerGeorge Petculescu <gxgpet@gmail.com>2016-10-20 00:02:17 +0200
commit85e6be1fea7970b39971dc3bd12587d4f032c65a (patch)
tree0a46d192b41a535a8380ca4184d6a500bdc30fa6 /system/libraries/Table.php
parent062b7d41d4cf656e481ea6cb5e8ccf1cd4933e20 (diff)
- fixed method chaining for set_caption in Table helper.
Diffstat (limited to 'system/libraries/Table.php')
-rw-r--r--system/libraries/Table.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php
index 3bce294d8..f2fa434d9 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -277,6 +277,7 @@ class CI_Table {
public function set_caption($caption)
{
$this->caption = $caption;
+ return $this;
}
// --------------------------------------------------------------------