From 66cf3b440bb9636c34fa43bdcf2ce8833e5182e3 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Fri, 6 Sep 2024 09:33:00 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=B5=D1=81=20?= =?utf8?q?=D0=BF=D1=80=D0=B8=D1=81=D0=B2=D0=BE=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?utf8?q?=D1=82=D0=B8=D0=BF=D0=B0=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD?= =?utf8?q?=D0=B8=D1=8F=20=D0=B7=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4?= =?utf8?q?=D0=B5=D0=BB=D1=8B=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0=20=D0=BD?= =?utf8?q?=D0=BE=D0=B2=D0=BE=D0=B9=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 24a4766c..7d134684 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -819,9 +819,9 @@ class MotivationService $motivationValue->motivation_id = $motivationId; $motivationValue->motivation_group_id = $groupId; $motivationValue->value_id = $valueId; - $motivationValue->value_type = $valueType; - } + } + $motivationValue->value_type = $valueType; // Установить значение в зависимости от типа switch ($valueType) { case 'float': -- 2.39.5