Browse Source

comma and time should receive the value

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
d6051296d1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Subs-List.php

+ 2 - 2
Sources/Subs-List.php

@@ -151,9 +151,9 @@ function createList($listOptions)
 
 			// Allow for basic formatting.
 			if (!empty($column['data']['comma_format']))
-				$cur_data['value'] = comma_format($list_item[$column['data']['comma_format']]);
+				$cur_data['value'] = comma_format($cur_data['value']);
 			elseif (!empty($column['data']['timeformat']))
-				$cur_data['value'] = timeformat($list_item[$column['data']['timeformat']]);
+				$cur_data['value'] = timeformat($cur_data['value']);
 
 			// Set a style class for this column?
 			if (isset($column['data']['class']))