Browse files

tweak Jifty/Test/WWW/Mechanize.pm

  • Loading branch information...
1 parent 7c76e2b commit f8785c88100d12be38eebed4e4791a62e354591b sunnavy committed Jan 28, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Jifty/Test/WWW/Mechanize.pm
View
4 lib/Jifty/Test/WWW/Mechanize.pm
@@ -126,7 +126,9 @@ sub fill_in_action {
unless ($input) {
return;
}
- $input->value($args{$arg});
+
+ # not $input->value($args{$arg}), because it doesn't handle arrayref
+ $action_form->param( $input->name, $args{$arg} );
}
return $action_form;

0 comments on commit f8785c8

Please sign in to comment.