From: Daniel Westermann-Clark Date: Wed, 10 May 2006 15:55:35 +0000 (+0000) Subject: Revert previous bugfix; will apply to trunk X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a5e0cbf54d52dec0b16721dbc70445c2a1bdbc8;p=dbsrgits%2FDBIx-Class-Historic.git Revert previous bugfix; will apply to trunk --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index db58023..7d18853 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -1259,7 +1259,8 @@ sub update_or_create { my $row = $self->find($hash, $attrs); if (defined $row) { - $row->update($hash); + $row->set_columns($hash); + $row->update; return $row; }