mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Injector updateSpec() instanciation (fixes #2829)
This commit is contained in:
parent
db07a8e1df
commit
71f6f8afc9
@ -418,7 +418,7 @@ class Injector {
|
||||
// and reload the object; existing bindings don't get
|
||||
// updated though! (for now...)
|
||||
if (isset($this->serviceCache[$id])) {
|
||||
$this->instantiate($spec, $id);
|
||||
$this->instantiate(array('class'=>$id), $id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user