Commit 7162847b authored by Web Admin's avatar Web Admin
Browse files

wrapped to stop crash!

parent 2b427cd8
......@@ -416,7 +416,7 @@ sub get_all_DBAdaptors_by_connection{
foreach my $dba ( @{$registry_register{'_DBA'}}){
my $dbc = $dba->dbc;
if($dbc->equals($dbc_orig)){
if($dbc && $dbc->can('equals') && $dbc->equals($dbc_orig)){
push @return, $dba;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment