projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0067682
)
config might have been cleared (not sure if this should happen, though)
André Walker [Fri, 19 Aug 2011 05:34:34 +0000 (
02:34
-0300)]
lib/Catalyst/IOC/ConstructorInjection.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/IOC/ConstructorInjection.pm
b/lib/Catalyst/IOC/ConstructorInjection.pm
index
781bf3b
..
72c551b
100644
(file)
--- a/
lib/Catalyst/IOC/ConstructorInjection.pm
+++ b/
lib/Catalyst/IOC/ConstructorInjection.pm
@@
-41,7
+41,7
@@
sub get {
warn("In get $component");
my $params = $self->params;
- my %config = (%{ $self->config }, %{ $params });
+ my %config = (%{ $self->config || {} }, %{ $params });
# warn(Data::Dumper::Dumper(\%config));
$self->_clear_config;