Fix typo
This commit is contained in:
@@ -104,7 +104,7 @@ class Project extends Base
|
|||||||
$to = $this->request->getStringParam('to');
|
$to = $this->request->getStringParam('to');
|
||||||
|
|
||||||
if ($from && $to) {
|
if ($from && $to) {
|
||||||
$data = $this->ProjectDailySummary->getAggregatedMetrics($project['id'], $from, $to);
|
$data = $this->projectDailySummary->getAggregatedMetrics($project['id'], $from, $to);
|
||||||
$this->response->forceDownload('Daily_Summary_'.date('Y_m_d_H_i').'.csv');
|
$this->response->forceDownload('Daily_Summary_'.date('Y_m_d_H_i').'.csv');
|
||||||
$this->response->csv($data);
|
$this->response->csv($data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user