From: Alexander Smirnov Date: Thu, 8 Aug 2024 11:52:58 +0000 (+0300) Subject: Исправление загрузки из вебовского экселя X-Git-Tag: 1.4~38^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=95e27a20259accbae8b4ed89aaf3e926c26e7687;p=erp24_rep%2Fyii-erp24%2F.git Исправление загрузки из вебовского экселя --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 06e071aa..3ada8cd6 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -184,7 +184,7 @@ class MotivationService break; } if ($storeStr) { - if (!is_int($row[0] ?? -1)) { + if (!is_float($row[0] ?? -1)) { $error = "Индекс магазина не корректен [0,0] '" . $row[0] . "'"; break; }