We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a6b7e commit 86bb64eCopy full SHA for 86bb64e
2 files changed
CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
8
## [UNRELEASED]
9
10
- Fix application of the read-only option on RichText fields.
11
+- Fix loading of default value for RichText fields.
12
13
## [1.21.28] - 2026-02-16
14
inc/field.class.php
@@ -1178,8 +1178,8 @@ public static function prepareHtmlFields(
1178
'itemtype' => $found_v[$itemtype_key],
1179
'items_id' => $found_v[$items_id_key],
1180
];
1181
- } else {
1182
- $value = $found_v[$field['name']] ?? '';
+ } elseif (isset($found_v[$field['name']])) {
+ $value = $found_v[$field['name']];
1183
}
1184
1185
0 commit comments