diff options
author | Cory <ckdarby@gmail.com> | 2012-06-05 22:01:24 +0200 |
---|---|---|
committer | Cory <ckdarby@gmail.com> | 2012-06-05 22:01:24 +0200 |
commit | cbe905eba9721cfdc6fe5725b99921f04d716770 (patch) | |
tree | 39ef1de940055d356cfbf6f1e03a28330242ff82 /system/libraries/Table.php | |
parent | f4a53ce71feadb867b3ea462cb5a5b3f5052a035 (diff) |
Fixing extra td; Issue #1374
Diffstat (limited to 'system/libraries/Table.php')
-rw-r--r-- | system/libraries/Table.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php index 0f8404d85..06b68db32 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php @@ -247,7 +247,7 @@ class CI_Table { { foreach ($args[0] as $key => $val) { - $args[$key] = (is_array($val) && isset($val['data'])) ? $val : array('data' => $val); + $ret_args[$key] = (is_array($val) && isset($val['data'])) ? $val : array('data' => $val); } } } @@ -257,12 +257,12 @@ class CI_Table { { if ( ! is_array($val)) { - $args[$key] = array('data' => $val); + $ret_args[$key] = array('data' => $val); } } } - return $args; + return $ret_args; } // -------------------------------------------------------------------- |