Skip to content

Commit

Permalink
Force scalar context to avoid getting () back and the associated odd …
Browse files Browse the repository at this point in the history
…number of elements in hash warnings.
  • Loading branch information
scottwalters committed Aug 9, 2010
1 parent b7cb774 commit c1a9184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset/Wobject/Gallery.pm
Expand Up @@ -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
Expand Down

0 comments on commit c1a9184

Please sign in to comment.