Commit fc96329c authored by fernandogonzalezv's avatar fernandogonzalezv Committed by Milan Golubovic
Browse files

Issue #3273927 by FernandoGonzalezV, apaderno, golubovicm: each() is...

Issue #3273927 by FernandoGonzalezV, apaderno, golubovicm: each() is deprecated in PHP 7.4 and removed in PHP 8
parent 89822038
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -237,7 +237,8 @@ class Importer {
   *   The current level which is being processed.
   */
  protected function mapRows(array &$output, array &$rows, $parent_id = 0, $level = 0) {
    while (list($key, $row) = each($rows)) {
    foreach($rows as $key => $row){

      reset($rows);
      $item = $this->getTermItem($row);
      $current = $item['term'];