]> git.koha-community.org Git - koha.git/commit
Bug 15120: runreport.pl cronjob doesn't allow custom subjects anymore
authorLiz Rea <liz@catalyst.net.nz>
Wed, 4 Nov 2015 02:33:40 +0000 (15:33 +1300)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 21:03:41 +0000 (22:03 +0100)
commit5288b0d9b579a90e287348c8650d9d92a36f8ca2
tree527a0899b0bf43d95f218edaa9f889b7704605e2
parentc7f90a22be27a8960b6429a5a7e66bf77371f8da
Bug 15120: runreport.pl cronjob doesn't allow custom subjects anymore

To test, well do something like

misc/cronjobs/runreport.pl --subject="My fancy subject!" --to=you@youraddress.com 1
where 1 is the number of your favourite saved report.

Success is your email arrives with the subject "My fancy subject!" Failure is
(with --subject defined) you get either the description of the report, or "Koha
saved report" as the subject. This is success without --subject defined.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  Bug repeatable and fixed by this patch.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4f8476e09c2de223f73692521b8f8e533ef8400f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
misc/cronjobs/runreport.pl