X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSet.pm;h=079edc68961a1876e247538de66d9f1c3e8c9e70;hb=9f1357ff2584d9cc89a3906a90a345f7e0a82b16;hp=c17ca808203144453894bb4989a0c21297012988;hpb=1f279bcfdaa31b01fbf1c974012a483b209b75f7;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index c17ca80..079edc6 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -2437,7 +2437,7 @@ sub _resolve_from { my $from = $attrs->{from} || [ { $attrs->{alias} => $source->from } ]; - my $seen = $attrs->{seen_join} || {}; + my $seen = { %{$attrs->{seen_join} || {} } }; # we need to take the prefetch the attrs into account before we # ->_resolve_join as otherwise they get lost - captainL