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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 16 Nov 2015 18:50:02 +0000 (15:50 -0300)
commit4f8476e09c2de223f73692521b8f8e533ef8400f
treed61ca1c21da4c4fd2b8351f1277686340ad0352d
parentb11eb03a4c9674f4f4dedadaa8790257e30fb1d0
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>
misc/cronjobs/runreport.pl