From fe5f434d2a1456e8bf92a7cd42c020a72be4986e Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 29 Jul 2024 14:59:07 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=83=D1=81=D1=82=D0=BE=D0=B9=20=D0=BF?= =?utf8?q?=D0=BB=D0=B0=D0=BD=20=D0=BF=D1=80=D0=B8=D0=BD=D0=B8=D0=BC=D0=B0?= =?utf8?q?=D0=B5=D1=82=D1=81=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 66d724f6..09ec4cd0 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -87,8 +87,7 @@ class MotivationService $error = "Не корректно название элемента '" . ($row[1] ?? '') . "' Ожидается: '" . $motivationCostsItems[$row[0]]->name . "' [$ind,1]"; break; } - if ($row[2] == '' && $row[2] !== 0) { - $error = "Не корректно значение элемента [$ind,2]"; + if ($row[2] == '') { break; } switch ($motivationCostsItems[$row[0]]->data_type) { -- 2.39.5