We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54df2ac commit 6aef808Copy full SHA for 6aef808
src/Http/Controllers/CP/Taxonomies/TermsController.php
@@ -286,9 +286,15 @@ protected function taxonomyToArray($taxonomy)
286
287
protected function extractFromFields($term, $blueprint)
288
{
289
+ // The values should only be data merged with the origin data.
290
+ // We don't want injected taxonomy values, which $term->values() would have given us.
291
+ $values = $term->inDefaultLocale()->data()->merge(
292
+ $term->data()
293
+ );
294
+
295
$fields = $blueprint
296
->fields()
- ->addValues($term->values()->all())
297
+ ->addValues($values->all())
298
->preProcess();
299
300
$values = $fields->values()->merge([
0 commit comments