From: G. Richardson Date: Tue, 19 Feb 2019 12:17:47 +0000 (+0100) Subject: SL::DB _register_db Passwort aus $type herausfiltern X-Git-Tag: release-3.5.4~19 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=94ceb0fccfae3f03a8e60dd93285b06a054ee9ae;p=kivitendo-erp.git SL::DB _register_db Passwort aus $type herausfiltern Es wurde nach dem falschen String gefiltert. --- diff --git a/SL/DB.pm b/SL/DB.pm index c678ed14f..60681c7e6 100644 --- a/SL/DB.pm +++ b/SL/DB.pm @@ -93,7 +93,7 @@ sub _register_db { my %flattened_settings = _flatten_settings(%connect_settings); $domain = 'KIVITENDO' if $type =~ m/^KIVITENDO/; - $type .= join($SUBSCRIPT_SEPARATOR, map { ($_, $flattened_settings{$_} || '') } sort grep { $_ ne 'dbpasswd' } keys %flattened_settings); + $type .= join($SUBSCRIPT_SEPARATOR, map { ($_, $flattened_settings{$_} || '') } sort grep { $_ ne 'password' } keys %flattened_settings); my $idx = "${domain}::${type}"; if (!$_db_registered{$idx}) {