Fix global settings array validate messages (#11199)

This commit is contained in:
Tony Murray
2020-02-25 07:48:05 -06:00
committed by GitHub
parent 7f7c2d3db8
commit 9fb0f1713d

View File

@@ -193,7 +193,7 @@ class DynamicConfigItem implements \ArrayAccess
public function getValidationMessage($value)
{
return $this->validate
? implode(" \n", $this->buildValidator($value)->messages()->get('value'))
? implode(" \n", $this->buildValidator($value)->messages()->all())
: __('settings.validate.' . $this->type, ['id' => $this->name, 'value' => json_encode($value)]);
}