Upgrade to the 3.8.0 patch
This commit is contained in:
@@ -350,7 +350,7 @@ return function (App $app) {
|
||||
* @param string $context Location of output (`html`, `attr`, `js`, `css`, `url` or `xml`)
|
||||
*/
|
||||
'escape' => function (Field $field, string $context = 'html') {
|
||||
$field->value = Str::esc($field->value, $context);
|
||||
$field->value = Str::esc($field->value ?? '', $context);
|
||||
return $field;
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user