diff --git a/app/commands/runtimes/RuntimeImport.php b/app/commands/runtimes/RuntimeImport.php index c1ab9c18..bd60ecbd 100644 --- a/app/commands/runtimes/RuntimeImport.php +++ b/app/commands/runtimes/RuntimeImport.php @@ -153,7 +153,7 @@ protected static function validate(array $obj, array $schema, array $prefix = [] { foreach ($schema as $key => $desc) { // check existence - $path = $prefix ? ("'" . join($prefix, "' / '") . "'") : ''; + $path = $prefix ? ("'" . join("' / '", $prefix) . "'") : ''; if (!array_key_exists($key, $obj)) { throw new RuntimeException("Property '$key' is missing in $path structure."); }