Commit 1a4a9755 authored by Eric Bremner's avatar Eric Bremner
Browse files

Issue #3283400: fixing WSOD for other users on taxonomy overview page

parent 1230de94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ function taxonomy_term_locks_form_taxonomy_overview_terms_alter(&$form, FormStat
    foreach ($terms as $index => $term) {

      // If the index has a tid in it, then perform the check.
      if (str_contains($index, 'tid')) {
      if (str_contains($index, 'tid') && isset($term['term']['tid']['#value'])) {

        // Get the tid from the form.
        $tid = $term['term']['tid']['#value'];