From b369d9b0532255fa50744c4e449d2a64a3c0ed6d Mon Sep 17 00:00:00 2001 From: Ines WALLON Date: Sat, 20 Mar 2021 22:49:59 +0100 Subject: [PATCH] fix: release error --- .../custom/drupalfr_release/src/Service/ReleaseHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/modules/custom/drupalfr_release/src/Service/ReleaseHelper.php b/www/modules/custom/drupalfr_release/src/Service/ReleaseHelper.php index b1b9c5a1b..52ae52e34 100644 --- a/www/modules/custom/drupalfr_release/src/Service/ReleaseHelper.php +++ b/www/modules/custom/drupalfr_release/src/Service/ReleaseHelper.php @@ -97,7 +97,7 @@ public function importReleaseListData(array $data) { $node = Node::create(['type' => 'release']); } else { - $this->entityTypeManager->getStorage('node')->load($nid); + $node = $this->entityTypeManager->getStorage('node')->load($nid); } // Set values of fields.