Force scalar context to avoid getting () back and the associated odd number of elements in hash warnings.
This commit is contained in:
parent
b7cb774e60
commit
c1a918493f
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ sub appendTemplateVarsSearchForm {
|
|||
$var->{ searchForm_location }
|
||||
= WebGUI::Form::text( $session, {
|
||||
name => "location",
|
||||
value => $form->get("location"),
|
||||
value => scalar $form->get("location"),
|
||||
});
|
||||
|
||||
# Search classes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue