diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm index 78a882e04..598b88d8b 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm @@ -378,7 +378,10 @@ sub new { require Lemonldap::NG::Portal::Notification; my $tmp; if ( $self->{notificationStorage} ) { - $tmp = $self->{notificationStorage}; + $tmp->{type} = $self->{notificationStorage}; + foreach ( keys %{ $self->{notificationStorageOptions} } ) { + $tmp->{$_} = $self->{notificationStorageOptions}->{$_}; + } } else { (%$tmp) = ( %{ $self->{lmConf} } );