From: Peter Rabbitson Date: Thu, 4 Jun 2009 21:51:13 +0000 (+0000) Subject: It seems that this localisation can lead to problems X-Git-Tag: v0.08106~36 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f279bcfdaa31b01fbf1c974012a483b209b75f7;p=dbsrgits%2FDBIx-Class.git It seems that this localisation can lead to problems Unfortunately no test case as the trigger was buried deep within Reaction, I coulnd't figure out an isolation --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 4ab4afa..c17ca80 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