Browse files

- updated a slight fix for the foreach-loop at line 355

  • Loading branch information...
1 parent 3c11280 commit fad0d7e88a2b60f0e9c7df562a82a2d67f7afff0 @cryogenix cryogenix committed Apr 18, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 application/libraries/Datatables.php
View
7 application/libraries/Datatables.php
@@ -353,10 +353,9 @@ protected function produce_output($columns, $iTotal, $iFilteredTotal, $rResult,
if(isset($cus_col_val[1]) && is_array($cus_col_val[1]))
{
foreach($cus_col_val[1] as $cus_colr_key => $cus_colr_val)
- {
- $cus_col_val[0] = str_ireplace('$' . ($cus_colr_key + 1), $aaData[$row_key][array_search($cus_colr_val, $columns)], $cus_col_val[0]) ;
- $aaData[$row_key][] = $cus_col_val[0];
- }
+ $cus_col_val[0] = str_ireplace('$' . ($cus_colr_key + 1), $aaData[$row_key][array_search($cus_colr_val, $columns)], $cus_col_val[0]);
+
+ $aaData[$row_key][] = $cus_col_val[0];
}
else
$aaData[$row_key][] = $cus_col_val[0];

0 comments on commit fad0d7e

Please sign in to comment.