diff --git a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Notifications.pm b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Notifications.pm index a45e99386..ba9a36c1e 100644 --- a/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Notifications.pm +++ b/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Notifications.pm @@ -81,7 +81,7 @@ sub new { # Else use the configuration backend else { - (%$tmp) = ( %{ $conf } ); + (%$tmp) = (%$conf); $class->abort( "notificationStorage not defined", "This parameter is required to use notification system" ) unless ( ref($tmp) ); diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm index 8112ff5b5..5b614fbab 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm @@ -761,12 +761,7 @@ sub buildHiddenForm { if $self->checkXSSAttack( $_, $self->{portalHiddenFormValues}->{$_} ); # Build hidden input HTML code - $val .= - ''; }