From 1406c232a5f34c9986b5c99eec5723131b3d2af0 Mon Sep 17 00:00:00 2001 From: jekkos Date: Fri, 20 Sep 2024 00:46:50 +0200 Subject: [PATCH] Fix attribute save (#4016) --- app/Controllers/Items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Items.php b/app/Controllers/Items.php index ea295f273..606c0bf74 100644 --- a/app/Controllers/Items.php +++ b/app/Controllers/Items.php @@ -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); }