Skip to content

Commit

Permalink
Merge branch 'release-49.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 1, 2022
2 parents eea442a + 8c41a44 commit d02561c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actions/class.PropertiesAuthoring.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ private function populateSubmittedProperties($myForm, $data): void
$groups = $myForm->getGroups();

foreach ($data['properties'] as $prop) {
if (empty($prop['range']) || empty($prop['uri']) || empty($prop['depends-on-property'])) {
if (empty($prop['range']) || empty($prop['uri'])) {
continue;
}

Expand All @@ -338,6 +338,7 @@ private function populateSubmittedProperties($myForm, $data): void
if (isset($elementUri)) {
$index = strstr($elementUri, '_', true);
$elementRangeArray[$index . '_range_list'] = $prop['range'];

if ($prop['depends-on-property']) {
$elementRangeArray[$index . '_depends-on-property'] = $prop['depends-on-property'];
$elementRangeArray[$index . '_uri'] = $prop['uri'];
Expand Down

0 comments on commit d02561c

Please sign in to comment.