Browse files

- cleanup code

  • Loading branch information...
1 parent e460066 commit f36ed7fcf1089c2a7df66c9b00eea76ebadb7cfa @n1crack n1crack committed May 20, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 application/libraries/Datatables.php
View
4 application/libraries/Datatables.php
@@ -356,14 +356,10 @@ protected function produce_output($iTotal, $iFilteredTotal, $rResult)
foreach($this->custom_columns as $cus_col_key => $cus_col_val)
{
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, $this->referenced_columns)], $cus_col_val[0]);
$aaData[$row_key][] = $cus_col_val[0];
- }
- else
- $aaData[$row_key][] = $cus_col_val[0];
}
}
}

0 comments on commit f36ed7f

Please sign in to comment.