diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm index c577c8363..7a681a5cb 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm @@ -39,12 +39,11 @@ sub getConf { my $num = $self->__lmConf->lastCfg; unless ( $confCached and $confCached->{cfgNum} == $num ) { %$confCached = ( - %args, + %{ $self->__lmConf->getConf( cfgNum => $num ) }, %{ $self->__lmConf->getLocalConf(PORTALSECTION) }, - %{ $self->__lmConf->getConf( cfgNum => $num ) } ); } - %$self = ( %$self, %$confCached ); + %$self = ( %$self, %$confCached, %args, ); 1; }