Unverified Commit 84862bae authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3241275 by alexpott:...

Issue #3241275 by alexpott: \Drupal\user\Plugin\migrate\source\d6\User::prepareRow() causes deprecations on PHP 8.1
parent dd2e7b8a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -68,7 +68,10 @@ public function prepareRow(Row $row) {
    }

    // Unserialize Data.
    $data = $row->getSourceProperty('data');
    if ($data !== NULL) {
      $row->setSourceProperty('data', unserialize($row->getSourceProperty('data')));
    }

    return parent::prepareRow($row);
  }