Return a relation, not a reading, in the invalid list. Issue tla/stemmaweb#17
Tara L Andrews [Thu, 18 Jul 2013 03:55:29 +0000 (05:55 +0200)]
base/lib/Text/Tradition/Collation.pm

index 58c4ec3..05cd397 100644 (file)
@@ -579,7 +579,7 @@ sub duplicate_reading {
                        next unless @noncolo;
                        foreach my $nc ( @noncolo ) {
                                unless( $self->relations->verify_or_delete( $rdg, $nc ) ) {
-                                       push( @deleted_relations, $nc );
+                                       push( @deleted_relations, [ $rdg->id, $nc->id ] );
                                }
                        }
                }