Fix attribute save (#4016)

This commit is contained in:
jekkos
2024-09-20 00:46:50 +02:00
parent 822bebaf64
commit 1406c232a5

View File

@@ -779,7 +779,7 @@ class Items extends Secure_Controller
{
$definition_type = $this->attribute->get_info($definition_id)->definition_type;
if($definition_type = DECIMAL)
if($definition_type == DECIMAL)
{
$attribute_value = prepare_decimal($attribute_value);
}