Bug 16969 cgi->param used in list context in opac-memberentry.pl
To test 1/ Hit the page, notice the warning in the log 2/ Apply patch 3/ Hit page, notice no warning in the log 4/ Test functionality all still works Works as expected. (Note: See Bug 16960 for updating patron details). Signed-off-by: Marc <veron@veron.ch> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> (cherry picked from commit0ef3b19dbd) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commit2dc212beef) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
8e7ee48b8e
commit
23943d61fe
|
|
@ -328,7 +328,7 @@ sub ParseCgiForBorrower {
|
|||
foreach ( $cgi->param ) {
|
||||
if ( $_ =~ '^borrower_' ) {
|
||||
my ($key) = substr( $_, 9 );
|
||||
$borrower{$key} = HTML::Entities::encode( $scrubber->scrub( $cgi->param($_) ) );
|
||||
$borrower{$key} = HTML::Entities::encode( $scrubber->scrub( scalar $cgi->param($_) ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue