diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2010-12-27 18:35:35 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2010-12-27 18:35:35 +0100 |
commit | 6c597f8d4b1b1bc12ccb4ad298053f03e6def36c (patch) | |
tree | d3d1e4bd02d833bd1deb3a873538d09b83eb5332 /system | |
parent | 23174a64277cad04c89d943fa65694299f7424d6 (diff) |
Issue #298: $this->table->function = can now accept an array with a valid callback which is passed to call_user_func().
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Table.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php index a57781c29..b4c6d366e 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php @@ -346,7 +346,7 @@ class CI_Table { { if ($function !== FALSE && is_callable($function)) { - $out .= $function($cell); + $out .= call_user_func($function, $cell); } else { |