Skip to content

Commit

Permalink
Fix sotepeed + import
Browse files Browse the repository at this point in the history
  • Loading branch information
jiisuominen committed Dec 18, 2024
1 parent 19a6f96 commit 367f335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions conf/cmi/webform.webform.sotepe_yleis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ third_party_settings:
49: '49'
applicationTargetGroup: '30'
applicationOpen: '2022-10-03T11:08:26'
applicationClose: '2029-07-30T11:19:00'
applicationClose: '2024-07-30T11:19:00'
applicationActingYearsType: next_x_years
applicationActingYears: { }
applicationActingYearsNextCount: '1'
applicationContinuous: 0
disableCopying: 0
status: development
parent: d8472e68-d6bd-4de2-a409-f0a177bf9e94
status: released
parent: ""
avus2BreakingChange: 0
weight: 0
open: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private function getApplicationTypeIdMapping(): array {

// Get an array of all the items with a "parent".
$itemsWithParent = array_filter($mapping, function ($item) {
return isset($item['parent']);
return isset($item['parent']) && $item['parent'] !== "";
});

// Get the parent UUIDs.
Expand Down

0 comments on commit 367f335

Please sign in to comment.