Commit e70ac57b authored by Berdir's avatar Berdir Committed by Berdir
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
......@@ -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';
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment