Some cosmetics changes
This commit is contained in:
parent
13f5ddaa61
commit
2e7fe44098
|
@ -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) );
|
||||||
|
|
|
@ -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}->{$_} . '" />';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user