mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 23:33:45 +02:00
Begin working on administrative server view changes
Also includes tests for the DatabaseCreation service.
This commit is contained in:
@@ -143,11 +143,11 @@ class VariableValidatorService
|
||||
|
||||
if ($validator->fails()) {
|
||||
throw new DisplayValidationException(json_encode(
|
||||
collect([
|
||||
'notice' => [
|
||||
sprintf('There was a validation error with the %s variable.', $item->name),
|
||||
],
|
||||
])->merge($validator->errors()->toArray())
|
||||
collect([
|
||||
'notice' => [
|
||||
sprintf('There was a validation error with the %s variable.', $item->name),
|
||||
],
|
||||
])->merge($validator->errors()->toArray())
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user