[wellwell-devel] [wellwell/zoom] Adjust to rename of template_file method in Template::Zoom.

Git wellwell-devel at rt.icdevgroup.org
Tue Feb 8 15:55:29 UTC 2011


commit 8a932087a0567e2222b5d72a0f8185a3f7b404a4
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Tue Feb 8 16:54:38 2011 +0100

    Adjust to rename of template_file method in Template::Zoom.

 lib/Vend/PDF.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/Vend/PDF.pm b/lib/Vend/PDF.pm
index 25f6821..963c84e 100644
--- a/lib/Vend/PDF.pm
+++ b/lib/Vend/PDF.pm
@@ -67,7 +67,7 @@ sub pdf {
 			my $text = shift;
 			my $out;
 
-			$out = ::errmsg($text);
+			$out = Vend::Tags->filter({op => 'loc', body => $text});
 
 			return $out;
 
@@ -82,7 +82,7 @@ sub pdf {
 
 	$html_object = new Template::Zoom::HTML;
 
-	$html_object->parse_template($template, $spec);
+	$html_object->parse_file($template, $spec);
 
 	for $list_object ($html_object->lists()) {
 		# seed and check input



More information about the wellwell-devel mailing list