Email reports doesn't work


#1

Hi,

I use Piwik 1.12.

I can not send email reports, neither manually neither automaticaly.

When I click on “download report”, the page send back an error message telling it doesn’t support multiple date.
Then i took a look to the URL and realised that the parameter date is a range.
If I remove the first part of the parameter, the URL displays the report.

NOK ->
https://pwlpo01/piwik/index.php?module=API&action=index&idSite=1&period=day&date=2013-11-08,2013-11-12&updated=7&token_auth=da6530007bf7478dfa19e9b52d2b0785&method=PDFReports.generateReport&idReport=7&outputType=3&language=fr

OK ->
https://pwlpo01/piwik/index.php?module=API&action=index&idSite=1&period=day&date=2013-11-12&updated=7&token_auth=da6530007bf7478dfa19e9b52d2b0785&method=PDFReports.generateReport&idReport=7&outputType=3&language=fr

Thanks for your help to debug it.
Florian