Explorar el Código

comma and time should receive the value

Signed-off-by: emanuele <[email protected]>
emanuele hace 12 años
padre
commit
d6051296d1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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']))