projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix m2m regression from 8a67d9cf (simple but deadly)
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Relationship
/
ManyToMany.pm
diff --git
a/lib/DBIx/Class/Relationship/ManyToMany.pm
b/lib/DBIx/Class/Relationship/ManyToMany.pm
index
fdfb5dd
..
c7cde16
100644
(file)
--- 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;