Skip to content
Snippets Groups Projects
Commit e70ac57b authored by Sascha Grossenbacher's avatar Sascha Grossenbacher Committed by Sascha Grossenbacher
Browse files

Issue #3095133 by Berdir: Undefined index error is seen When installing...

Issue #3095133 by Berdir: Undefined index error is seen When installing Pathuato 1.6 beta1 on Drupal core 8.7.x
parent 7bc985b6
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ function pathauto_pattern_validate($element, FormStateInterface $form_state) {
function pathauto_local_tasks_alter(&$local_tasks) {
if (version_compare(\Drupal::VERSION, '8.8', '<')) {
foreach ($local_tasks as &$local_task) {
if ($local_task['provider'] === 'pathauto') {
if (isset($local_task['provider']) && $local_task['provider'] === 'pathauto') {
$local_task['base_route'] = 'path.admin_overview';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment