Skip to content

Commit c05e6a5

Browse files
author
Raphaël Droz
committed
process @<suffix> as long as suffix is not null
1 parent 61fd187 commit c05e6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Blueprints/src/BlueprintForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ protected function deepInit(array &$items, $path = [])
465465
$newPath = array_merge($path, [$key]);
466466

467467
$location = $this->deepInit($item, $newPath);
468-
if ($location || $location === 0) {
468+
if (null !== $location) {
469469
$order[$key] = $location;
470470
} elseif ($location === null) {
471471
unset($items[$key]);

0 commit comments

Comments
 (0)