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 {
}
}
}
$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;
......@@ -120,6 +117,12 @@ class tx_nG6_db {
$date_cursore = $date_cursors + $total_day_count_tstamp;
$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
$queryParts = array(
'SELECT' => 'tx_nG6_run.uid as run_id, tx_nG6_run.name as name',
......
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