From: Justin Hunter Date: Wed, 26 Aug 2009 05:54:50 +0000 (-0700) Subject: properly get schema/translator X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d4d2c3ae11c95aeea6e36abf393fbb1392f40ee;p=dbsrgits%2FSQL-Translator-2.0-ish.git properly get schema/translator --- diff --git a/lib/SQL/Translator/Producer/XML.pm b/lib/SQL/Translator/Producer/XML.pm index 9339993..494a51c 100644 --- a/lib/SQL/Translator/Producer/XML.pm +++ b/lib/SQL/Translator/Producer/XML.pm @@ -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;