properly get schema/translator
Justin Hunter [Wed, 26 Aug 2009 05:54:50 +0000 (22:54 -0700)]
lib/SQL/Translator/Producer/XML.pm

index 9339993..494a51c 100644 (file)
@@ -20,7 +20,7 @@ my $PArgs     = {};
 my $no_comments;
 
 method produce {
-    my $translator  = $self;
+    my $translator  = $self->translator;
     my $schema      = $translator->schema;
     $no_comments    = $translator->no_comments;
 #    $PArgs          = $translator->producer_args;