projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge 'trunk' into 'prefetch_redux'
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
ResultSet.pm
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
cd62c34
..
e24dafe
100644
(file)
--- a/
lib/DBIx/Class/ResultSet.pm
+++ b/
lib/DBIx/Class/ResultSet.pm
@@
-2931,7
+2931,7
@@
sub _joinpath_aliases {
for my $j (@$fromspec) {
next if ref $j ne 'ARRAY';
- next if $j->[0]{-relation_chain_depth} < $cur_depth;
+ next if ($j->[0]{-relation_chain_depth} || 0) < $cur_depth;
my $jpath = $j->[0]{-join_path};