projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0109b20
)
Revert previous bugfix; will apply to trunk
Daniel Westermann-Clark [Wed, 10 May 2006 15:55:35 +0000 (15:55 +0000)]
lib/DBIx/Class/ResultSet.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
db58023
..
7d18853
100644
(file)
--- 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;
}