X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FContainer%2FCollection.php;h=4a2a12b430431830b77a8a5ae4452f7573b9f38c;hb=ed5ef6168bb73bca9e124bceeb5131ff209bffe4;hp=6b69b794df5e72207246c859efbfe3463ca6c871;hpb=e9acbbfa36ef8a43365e254aef60029a1ea29dbb;p=civicrm-core.git diff --git a/CRM/Extension/Container/Collection.php b/CRM/Extension/Container/Collection.php index 6b69b794df..4a2a12b430 100644 --- a/CRM/Extension/Container/Collection.php +++ b/CRM/Extension/Container/Collection.php @@ -1,9 +1,9 @@ getKeysToContainer(); - if (isset($k2c[$key])) { + if (isset($k2c[$key]) && isset($this->containers[$k2c[$key]])) { return $this->containers[$k2c[$key]]; } else { throw new CRM_Extension_Exception_MissingException("Unknown extension: $key");