Skip to content

Commit

Permalink
GetDKAN#4179: Dataset ComplexDataFacade returning wrong empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-korn committed May 6, 2024
1 parent 6061fbe commit 2620286
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ private function getArrayValues($property_name) {
&& isset($this->data->{$matches[1]})
&& is_array($this->data->{$matches[1]})) {
foreach ($this->data->{$matches[1]} as $dist) {
$values[] = $dist->{$matches[2]} ?? [];
if (isset($dist->{$matches[2]})) {
$values[] = $dist->{$matches[2]};
}
}
}
elseif (isset($this->data->{$property_name})) {
Expand Down

0 comments on commit 2620286

Please sign in to comment.