Skip to content

Commit ed0571c

Browse files
committed
Fix cutoff level for expanded relationships (and don't increase the level counter for subsequent fields... woops!)
1 parent e0be7f5 commit ed0571c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/Routing/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ protected function addExpandableValues(
302302
$visibleValues,
303303
$expandValues,
304304
$prefix . $field->getDisplayName() . '.',
305-
$currentDepth ++
305+
$currentDepth + 1
306306
);
307307
}
308308
}

0 commit comments

Comments
 (0)