[open-ils-commits] r20419 - branches/rel_2_0/Open-ILS/src/reporter (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed May 4 13:50:43 EDT 2011


Author: miker
Date: 2011-05-04 13:50:39 -0400 (Wed, 04 May 2011)
New Revision: 20419

Modified:
   branches/rel_2_0/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: branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl
===================================================================
--- branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl	2011-05-04 17:50:19 UTC (rev 20418)
+++ branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl	2011-05-04 17:50:39 UTC (rev 20419)
@@ -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