mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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
|
// and reload the object; existing bindings don't get
|
||||||
// updated though! (for now...)
|
// updated though! (for now...)
|
||||||
if (isset($this->serviceCache[$id])) {
|
if (isset($this->serviceCache[$id])) {
|
||||||
$this->instantiate($spec, $id);
|
$this->instantiate(array('class'=>$id), $id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user