diff --git a/Controller/ApiAttributeController.php b/Controller/ApiAttributeController.php index 46438e3..5f0d151 100644 --- a/Controller/ApiAttributeController.php +++ b/Controller/ApiAttributeController.php @@ -231,7 +231,9 @@ final class ApiAttributeController extends Controller $this->updateModel($request->header->account, $old, $new, ItemAttributeMapper::class, 'item_attribute', $request->getOrigin()); - if ($new->value->getValue() !== $old->value->getValue()) { + if ($new->value->getValue() !== $old->value->getValue() + && $new->type->custom + ) { $this->updateModel($request->header->account, $old->value, $new->value, ItemAttributeValueMapper::class, 'attribute_value', $request->getOrigin()); }