mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11194] Service tag data is stored in an array so access it correctly
PHPBB3-11194
This commit is contained in:
parent
05380c8d0e
commit
09ec65cb9b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class phpbb_di_pass_collection_pass implements CompilerPassInterface
|
||||||
{
|
{
|
||||||
$definition = $container->getDefinition($id);
|
$definition = $container->getDefinition($id);
|
||||||
|
|
||||||
foreach ($container->findTaggedServiceIds($data['tag']) as $service_id => $service_data)
|
foreach ($container->findTaggedServiceIds($data[0]['tag']) as $service_id => $service_data)
|
||||||
{
|
{
|
||||||
$definition->addMethodCall('add', array($service_id));
|
$definition->addMethodCall('add', array($service_id));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue