Commit 2d68e138 authored by Patrick Meidl's avatar Patrick Meidl
Browse files

fix for Registry using wrong dnadb by default

parent b6c411f9
......@@ -640,6 +640,11 @@ sub get_database {
-dbname => $self->param("${prefix}dbname"),
-group => $database,
# explicitely set the dnadb to itself - by default the Registry assumes
# a group 'core' for this now
$self->{'_dba'}->{$database} = $dba;
$self->{'_dba'}->{'default'} = $dba unless $self->{'_dba'}->{'default'};
return $self->{'_dba'}->{$database};
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