Commit 37dabe94 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent 75167a1a
......@@ -163,19 +163,11 @@ class tx_nG6_db {
}
$cumulated_size += $current_size;
if ($date_cursore+$total_day_count_tstamp > $date_end) {
if(!$cumul_values){
$res_tab[] = array($date_end*1000, $current_size);
}else{
$res_tab[] = array($date_end*1000, $cumulated_size);
}
} else {
if(!$cumul_values){
$res_tab[] = array($date_cursore*1000, $current_size);
}else{
$res_tab[] = array($date_cursore*1000, $cumulated_size);
}
}
if(!$cumul_values){
$res_tab[] = array($date_cursore*1000, $current_size);
}else{
$res_tab[] = array($date_cursore*1000, $cumulated_size);
}
$date_cursors = $date_cursore + 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment