Skip to content

Commit 1282276

Browse files
author
Raphaël Droz
committed
fix #33
1 parent 64a8bfc commit 1282276

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
@@ -471,7 +471,7 @@ protected function deepInit(array &$items, $path = [])
471471
$newPath = array_merge($path, [$key]);
472472

473473
$location = $this->deepInit($item, $newPath);
474-
if ($location) {
474+
if ($location || $location === 0) {
475475
$order[$key] = $location;
476476
} elseif ($location === null) {
477477
unset($items[$key]);

0 commit comments

Comments
 (0)