]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Fri, 11 Dec 2015 00:58:42 +0000 (13:58 +1300)
commit781ccb9eaf82bf065d4e14b7f1eec890335be9dc
tree79cc12d02ef6717b2bc1bfcdc46769fd81ad14b9
parentec421d6c321b741db53551efdc9f4ef61ef0b969
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>
(cherry picked from commit 5288b0d9b579a90e287348c8650d9d92a36f8ca2)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
misc/cronjobs/runreport.pl