From: miker Date: Wed, 4 May 2011 17:47:20 +0000 (+0000) Subject: Patch from Jason Boyer swapping the order of report and template name in emailed... X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=ec610ce9389629b781636164835c7c114edf58f6 Patch from Jason Boyer swapping the order of report and template name in emailed notices; LP#777273 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20417 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/reporter/clark-kent.pl b/Open-ILS/src/reporter/clark-kent.pl index 6f7f95e..d618782 100755 --- a/Open-ILS/src/reporter/clark-kent.pl +++ b/Open-ILS/src/reporter/clark-kent.pl @@ -368,7 +368,7 @@ sub send_success { $tmpl =~ s/{TO}/$r->{email}/smog; $tmpl =~ s/{FROM}/$email_sender/smog; $tmpl =~ s/{REPLY_TO}/$email_sender/smog; - $tmpl =~ s/{REPORT_NAME}/$r->{report}->{template}->{name} -- $r->{report}->{name}/smog; + $tmpl =~ s/{REPORT_NAME}/$r->{report}->{name} -- $r->{report}->{template}->{name}/smog; $tmpl =~ s/{RUN_TIME}/$r->{run_time}/smog; $tmpl =~ s/{COMPLETE_TIME}/$r->{complete_time}/smog; $tmpl =~ s/{OUTPUT_URL}/$url/smog; @@ -389,7 +389,7 @@ sub send_fail { $tmpl =~ s/{TO}/$r->{email}/smog; $tmpl =~ s/{FROM}/$email_sender/smog; $tmpl =~ s/{REPLY_TO}/$email_sender/smog; - $tmpl =~ s/{REPORT_NAME}/$r->{report}->{template}->{name} -- $r->{report}->{name}/smog; + $tmpl =~ s/{REPORT_NAME}/$r->{report}->{name} -- $r->{report}->{template}->{name}/smog; $tmpl =~ s/{RUN_TIME}/$r->{run_time}/smog; $tmpl =~ s/{ERROR_TEXT}/$r->{error_text}/smog; $tmpl =~ s/{SQL}/$sql/smog;