from rt branch perl-5.18-compat, http://www.gossamer-threads.com/lists/rt/commit...
authorIvan Kohler <ivan@freeside.biz>
Thu, 5 Sep 2013 05:27:40 +0000 (22:27 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 14 May 2015 22:50:59 +0000 (15:50 -0700)
rt/lib/RT/Config.pm

index 07f4aaf..b97802f 100644 (file)
@@ -1233,6 +1233,7 @@ sub SetFromConfig {
             $ref_type = 'SCALAR' if $ref_type eq 'REF';
 
             my $entry_ref = *{$entry}{ $ref_type };
+            next if ref $entry_ref && ref $entry_ref ne ref $ref;
             next unless $entry_ref;
 
             # if references are equal then we've found