Fixed widget title corruption in dashboard with multi-byte characters.

This commit is contained in:
Junichi Satoh 2020-04-30 15:39:32 +09:00
parent 8a019bd8f4
commit 06ae3a61e8

View File

@ -156,7 +156,7 @@ class Cell
// Options for widget. // Options for widget.
if (empty($options) !== true) { if (empty($options) !== true) {
$options = json_encode($options); $options = json_encode($options, JSON_UNESCAPED_UNICODE);
} else { } else {
$options = $this->fieldsCell['options']; $options = $this->fieldsCell['options'];
} }