From 2e7fe44098a3fb2b2a787e1ab358985a2d8e5c2a Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Tue, 22 Oct 2013 16:48:02 +0000 Subject: [PATCH] Some cosmetics changes --- .../lib/Lemonldap/NG/Manager/Notifications.pm | 2 +- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) 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 .= - ''; }