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 80fd99664..7b84f94ae 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm @@ -1189,7 +1189,7 @@ sub controlExistingSession { { my $h = $self->getApacheSession($id); - if ( defined $h ) { + if ( $h ) { %{ $self->{sessionInfo} } = %$h; # Logout if required