From 162c49300a32cd741145a5561d5026db2d165a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20OUDOT?= Date: Tue, 10 Mar 2020 15:43:10 +0100 Subject: [PATCH] Fix call to conf (#2089) --- lemonldap-ng-common/lib/Lemonldap/NG/Common/Notifications.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' );