From: Rafael Kitover Date: Mon, 16 May 2011 13:50:14 +0000 (-0400) Subject: logic fail in naming_set check X-Git-Tag: 0.07011~118 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=38fd5f916fa15241cf6d2777c58e1cacb0cae985;p=dbsrgits%2FDBIx-Class-Schema-Loader.git logic fail in naming_set check --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 1a6d5a1..a34667d 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -781,7 +781,7 @@ EOF $self->_upgrading_from('v4'); } - if ((not defined $self->use_namespaces) && (not $self->naming_set)) { + if ((not defined $self->use_namespaces) && ($self->naming_set)) { $self->use_namespaces(1); }