Skip to content

Commit

Permalink
process @<suffix> as long as suffix is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
drzraf committed Sep 27, 2022
1 parent 01793d8 commit 31e0626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blueprints/src/BlueprintForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ protected function deepInit(array &$items, $path = [])
$newPath = array_merge($path, [$key]);

$location = $this->deepInit($item, $newPath);
if ($location || $location === 0) {
if (null !== $location) {
$order[$key] = $location;
} elseif ($location === null) {
unset($items[$key]);
Expand Down

0 comments on commit 31e0626

Please sign in to comment.