[Bps-public-commit] r11380 - SVN-PropDB/lib/Prophet/Resolver
clkao at bestpractical.com
clkao at bestpractical.com
Wed Apr 2 00:27:53 EDT 2008
Author: clkao
Date: Wed Apr 2 00:27:52 2008
New Revision: 11380
Modified:
SVN-PropDB/lib/Prophet/Resolver/FromResolutionDB.pm
Log:
silence is not illegal
Modified: SVN-PropDB/lib/Prophet/Resolver/FromResolutionDB.pm
==============================================================================
--- SVN-PropDB/lib/Prophet/Resolver/FromResolutionDB.pm (original)
+++ SVN-PropDB/lib/Prophet/Resolver/FromResolutionDB.pm Wed Apr 2 00:27:52 2008
@@ -14,7 +14,7 @@
my $res = Prophet::Collection->new( handle => $resdb->handle,
type => '_prophet_resolution-'.$conflicting_change->cas_key );
$res->matching(sub { 1 } );
- my $answer = $res->as_array_ref->[0];
+ my $answer = $res->as_array_ref->[0] or return;
# for my $answer (@{$res->as_array_ref}) {
# }
More information about the Bps-public-commit
mailing list