diff --git a/lemonldap-ng-common/lib/Lemonldap/NG/Common/Notifications.pm b/lemonldap-ng-common/lib/Lemonldap/NG/Common/Notifications.pm index 200942f6b..408df7c52 100644 --- a/lemonldap-ng-common/lib/Lemonldap/NG/Common/Notifications.pm +++ b/lemonldap-ng-common/lib/Lemonldap/NG/Common/Notifications.pm @@ -38,7 +38,7 @@ has notifField => ( sub BUILD { my $self = shift; - $self->extension('xml') if $self->p->conf->{oldNotifFormat}; + $self->extension('xml') if $self->conf->{oldNotifFormat}; $self->logger->debug( 'Use extension "' . $self->extension . '" to store notification files' );