commit | 6c597f8d4b1b1bc12ccb4ad298053f03e6def36c | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Mon Dec 27 17:35:35 2010 +0000 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Mon Dec 27 17:35:35 2010 +0000 |
tree | d3d1e4bd02d833bd1deb3a873538d09b83eb5332 | |
parent | 23174a64277cad04c89d943fa65694299f7424d6 [diff] [blame] |
Issue #298: $this->table->function = can now accept an array with a valid callback which is passed to call_user_func().
diff --git a/system/libraries/Table.php b/system/libraries/Table.php index a57781c..b4c6d36 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php
@@ -346,7 +346,7 @@ { if ($function !== FALSE && is_callable($function)) { - $out .= $function($cell); + $out .= call_user_func($function, $cell); } else {