mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-30 21:05:46 -04:00
Fix attribute save (#4016)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user