X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FRelationship%2FManyToMany.pm;fp=lib%2FDBIx%2FClass%2FRelationship%2FManyToMany.pm;h=c7cde16d79f4673c05938af99096ea014634889c;hb=2d9a96fd40eb4be24a9a254953e1e3cd8e20ea3a;hp=fdfb5ddaa9df4a2fa0984a9f895fe729990f6196;hpb=5b87fc0f74c6f7de9d4b544ef31104fac7b2a5a9;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Relationship/ManyToMany.pm b/lib/DBIx/Class/Relationship/ManyToMany.pm index fdfb5dd..c7cde16 100644 --- a/lib/DBIx/Class/Relationship/ManyToMany.pm +++ b/lib/DBIx/Class/Relationship/ManyToMany.pm @@ -161,7 +161,7 @@ EOC ) if ( @_ > 1 or - ( @_ and ref $_[0] ne 'HASH' ) + ( defined $_[0] and ref $_[0] ne 'HASH' ) ); my $guard;