* Removed extra parens from the ON expression of JOIN (SQLA::Test now handles it...
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI.pm
index c441333..3d23970 100644 (file)
@@ -219,7 +219,7 @@ sub _recurse_from {
     } else {
       push(@sqlf, $self->_make_as($to));
     }
-    push(@sqlf, ' ON (', $self->_join_condition($on), ')');
+    push(@sqlf, ' ON ', $self->_join_condition($on));
   }
   return join('', @sqlf);
 }