1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix dependency retrieval in DependencyTest.php

This commit is contained in:
Benjamin Beganović 2024-02-28 19:02:12 +01:00
parent f67b6649cb
commit 82ba61a31f

View File

@ -104,7 +104,7 @@ class DependencyTest extends TestCase
$errors = [];
foreach ($steps as $step) {
$dependent = $dependencies[$step] ?? [];
$dependent = $dependencies[$step]['dependencies'] ?? [];
foreach ($dependent as $dependency) {
if (in_array($dependency, $steps) && $step_order[$dependency] > $step_order[$step]) {