Some cosmetics changes

This commit is contained in:
Xavier Guimard 2013-10-22 16:48:02 +00:00
parent 13f5ddaa61
commit 2e7fe44098
2 changed files with 2 additions and 7 deletions

View File

@ -81,7 +81,7 @@ sub new {
# Else use the configuration backend # Else use the configuration backend
else { else {
(%$tmp) = ( %{ $conf } ); (%$tmp) = (%$conf);
$class->abort( "notificationStorage not defined", $class->abort( "notificationStorage not defined",
"This parameter is required to use notification system" ) "This parameter is required to use notification system" )
unless ( ref($tmp) ); unless ( ref($tmp) );

View File

@ -761,12 +761,7 @@ sub buildHiddenForm {
if $self->checkXSSAttack( $_, $self->{portalHiddenFormValues}->{$_} ); if $self->checkXSSAttack( $_, $self->{portalHiddenFormValues}->{$_} );
# Build hidden input HTML code # Build hidden input HTML code
$val .= $val .= qq{<input type="hidden" name="$_" id="$_" value="}
'<input type="hidden" name="'
. $_
. '" id="'
. $_
. '" value="'
. $self->{portalHiddenFormValues}->{$_} . '" />'; . $self->{portalHiddenFormValues}->{$_} . '" />';
} }