summaryrefslogtreecommitdiff
blob: c9c5c1cca0b7410754cf5636b92c637289f98b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Template-XML-2.17/lib/Template/Plugin/XML/LibXML.pm 2007-02-09
09:48:07.000000000 -0600
+++ Template-XML-2.17-fixed/lib/Template/Plugin/XML/LibXML.pm   2007-02-19
17:22:29.000000000 -0600
@@ -112,7 +112,7 @@
         eval { $parser->$method($args->{$method}) };

         # if there's a problem throw a Tempalte::Exception
-        $self->throw("option '$method' not supported") if $@;
+        $class->throw("option '$method' not supported") if $@;
     }

     # parse