Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDFReports: email is sent to superuser not to report creator #1685

Closed
anonymous-matomo-user opened this issue Sep 9, 2010 · 2 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

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

@anonymous-matomo-user
Copy link
Author

Attachment:
patch to API.pm.txt

@robocoder
Copy link
Contributor

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants