Issue-3473888: Fixed configuration page issue.
1 unresolved thread
1 unresolved thread
Closes #3473888
Merge request reports
Activity
48 48 $configuration = $this->configFactory->get('markit.settings'); 49 49 $target_entity_bundles = $configuration->get('target_entities'); 50 50 $target_entity_types = []; 51 foreach ($target_entity_bundles as $target_entity_bundle) { 52 list($entity_type,) = explode(':', $target_entity_bundle); 53 $target_entity_types[$entity_type] = $entity_type; 51 $is_arr_or_obj = is_array($target_entity_bundles) || is_object($target_entity_bundles); Changing L49 to
$target_entity_bundles = $configuration->get('target_entities') ?? [];
wouldn't solve the issue here?Edited by Panagiotis Moutsopoulos
Please register or sign in to reply