Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ScheduledReports/templates/reportParametersScheduledReports.twig')
-rw-r--r--plugins/ScheduledReports/templates/reportParametersScheduledReports.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ScheduledReports/templates/reportParametersScheduledReports.twig b/plugins/ScheduledReports/templates/reportParametersScheduledReports.twig
index 19acdd9276..92d7ad52ad 100644
--- a/plugins/ScheduledReports/templates/reportParametersScheduledReports.twig
+++ b/plugins/ScheduledReports/templates/reportParametersScheduledReports.twig
@@ -31,7 +31,7 @@
var i, field, fields = ['displayFormat', 'emailMe', 'evolutionGraph', 'additionalEmails'];
for (i in fields) {
field = fields[i];
- if (report.parameters[field]) {
+ if (field in report.parameters) {
report[field] = report.parameters[field];
}
}