projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4295c4b
)
initialize result_component_map to empty hash if unset
0.07010
Rafael Kitover [Fri, 4 Mar 2011 09:07:56 +0000 (
04:07
-0500)]
lib/DBIx/Class/Schema/Loader/Base.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/Base.pm
b/lib/DBIx/Class/Schema/Loader/Base.pm
index
0a854ae
..
6eaaddc
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/Base.pm
+++ b/
lib/DBIx/Class/Schema/Loader/Base.pm
@@
-621,6
+621,9
@@
sub new {
}
$self->result_component_map(\%rc_map);
}
+ else {
+ $self->result_component_map({});
+ }
$self->_validate_result_component_map;
if ($self->use_moose) {