Commit dc7535e3 authored by Balis Matzouranis's avatar Balis Matzouranis Committed by Vladimir Roudakov
Browse files

Issue #3179603 by balis_m, gngn, PhilY, VladimirAus: Warning: Illegal offset...

Issue #3179603 by balis_m, gngn, PhilY, VladimirAus: Warning: Illegal offset type in Drupal\taxonomy_manager\TaxonomyManagerHelper->deleteTerms()
parent 0347563e
Loading
Loading
Loading
Loading
+1 −1
Changes for src/TaxonomyManagerHelper.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ class TaxonomyManagerHelper {
            $parents = $this->taxonomyTypeManager->loadParents($child->id());
            if ($delete_orphans) {
              if (count($parents) == 1) {
                $orphans[$child->tid] = $child->id();
                $orphans[$child->id()] = $child->id();
              }
              else {
                $remaining_child_terms[$child->id()] = $child->getName();