[open-ils-commits] r20417 - trunk/Open-ILS/src/reporter (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed May 4 13:47:24 EDT 2011


Author: miker
Date: 2011-05-04 13:47:20 -0400 (Wed, 04 May 2011)
New Revision: 20417

Modified:
   trunk/Open-ILS/src/reporter/clark-kent.pl
Log:
Patch from Jason Boyer swapping the order of report and template name in emailed notices; LP#777273

Modified: trunk/Open-ILS/src/reporter/clark-kent.pl
===================================================================
--- trunk/Open-ILS/src/reporter/clark-kent.pl	2011-05-04 13:50:22 UTC (rev 20416)
+++ trunk/Open-ILS/src/reporter/clark-kent.pl	2011-05-04 17:47:20 UTC (rev 20417)
@@ -368,7 +368,7 @@
 	$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 @@
 	$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;



More information about the open-ils-commits mailing list