Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
old values should always be removed
  • Loading branch information
kraih committed Dec 1, 2014
1 parent 4b6aac3 commit 6f56f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.68 2014-11-30
5.68 2014-12-01

5.67 2014-11-27
- Improved overall performance by deserializing sessions only on demand.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Parameters.pm
Expand Up @@ -60,7 +60,7 @@ sub param {
return $self->_param($name)->[-1] unless @_;

# Replace values
$self->remove($name) if defined $_[0];
$self->remove($name);
return $self->append($name => ref $_[0] eq 'ARRAY' ? $_[0] : [@_]);
}

Expand Down

0 comments on commit 6f56f96

Please sign in to comment.