logic fail in naming_set check
Rafael Kitover [Mon, 16 May 2011 13:50:14 +0000 (09:50 -0400)]
lib/DBIx/Class/Schema/Loader/Base.pm

index 1a6d5a1..a34667d 100644 (file)
@@ -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);
         }