Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#1685 closed Bug (fixed)

PDFReports: email is sent to superuser not to report creator

Reported by: duncanc Owned by:
Priority: major Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no

Description

When creating a PDF report ticking the box "Send to me" causes the email to be sent to the superuser not to the report creator. This is because when the email is sent, it uses the email address of the "current user" which is likely to be the superuser when run from a cron job.

Attached is a patch for plugins/PDFReports/API.pm

Attachments (1)

patch to API.pm.txt (255 bytes) - added by duncanc 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by duncanc

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Milestone set to 1.1 - Piwik 1.1

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Summary changed from emaill of PDF report is sent to superuser not to report creator to email of PDF report is sent to superuser not to report creator

comment:3 Changed 3 years ago by vipsoft (robocoder)

  • Summary changed from email of PDF report is sent to superuser not to report creator to PDFReports: email is sent to superuser not to report creator

comment:4 Changed 3 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [3274]) fixes #1685 - thanks duncanc; btw next time, please make your patch against svn and preserve whitespace

comment:5 Changed 3 years ago by matt (mattab)

  • Priority changed from normal to major
Note: See TracTickets for help on using tickets.