Commit adbfbc96 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent 30d0c638
...@@ -88,9 +88,6 @@ class tx_nG6_db { ...@@ -88,9 +88,6 @@ class tx_nG6_db {
} }
} }
} }
$where = 'tx_nG6_project.uid IN ('.implode(",",$project_list_final).') AND tx_nG6_run.date BETWEEN '.$date_cursors.' AND '.$date_cursore;
} else {
$where = 'tx_nG6_run.date BETWEEN '.$date_cursors.' AND '.$date_cursore;
} }
$cumulated_size = 0; $cumulated_size = 0;
...@@ -119,6 +116,12 @@ class tx_nG6_db { ...@@ -119,6 +116,12 @@ class tx_nG6_db {
$date_cursore = $date_cursors + $total_day_count_tstamp; $date_cursore = $date_cursors + $total_day_count_tstamp;
$current_size = 0; $current_size = 0;
if ($usergroup != "0") {
$where = 'tx_nG6_project.uid IN ('.implode(",",$project_list_final).') AND tx_nG6_run.date BETWEEN '.$date_cursors.' AND '.$date_cursore;
} else {
$where = 'tx_nG6_run.date BETWEEN '.$date_cursors.' AND '.$date_cursore;
}
// get all runs the usergroup can access to // get all runs the usergroup can access to
$queryParts = array( $queryParts = array(
......
Supports Markdown
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