projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9f47106
)
store deflated value when handed to store_deflated_column
Matt S Trout [Sun, 18 Jun 2006 23:07:59 +0000 (23:07 +0000)]
lib/DBIx/Class/InflateColumn.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/InflateColumn.pm
b/lib/DBIx/Class/InflateColumn.pm
index
382b332
..
d5791cb
100644
(file)
--- a/
lib/DBIx/Class/InflateColumn.pm
+++ b/
lib/DBIx/Class/InflateColumn.pm
@@
-148,7
+148,8
@@
sub store_inflated_column {
my ($self, $col, $obj) = @_;
unless (blessed $obj) {
delete $self->{_inflated_column}{$col};
- return undef;
+ $self->store_column($col => $obj);
+ return $obj;
}
delete $self->{_column_data}{$col};
return $self->{_inflated_column}{$col} = $obj;