We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9f6fed + c591ccc commit a9fd9d8Copy full SHA for a9fd9d8
src/Components/Form/ParentSelect.php
@@ -24,7 +24,7 @@ public static function make(QueryBuilder $query): Select
24
);
25
26
$depth = $item->getAttribute('depth');
27
- if ($depth < 1) {
+ if ($depth < 0) {
28
throw new RuntimeException('The tree is corrupted, please Fix tree');
29
}
30
0 commit comments