]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
добавил проверку на свойство класса и проставил 0
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 30 Aug 2024 10:09:50 +0000 (13:09 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 30 Aug 2024 10:09:50 +0000 (13:09 +0300)
erp24/services/MotivationService.php

index b9471ee79030d328b39ff8403e9df4e3ef0a6619..5fef643e11aeaa988eafde951452d5ef0d60462e 100644 (file)
@@ -1140,7 +1140,7 @@ class MotivationService
 
                 if (!isset($motivationDataTableSort[$indMap[$code]][$column])) {
                     // Присваиваем null или 0 в зависимости от необходимости
-                    $motivationDataTableSort[$indMap[$code]][$column] = null;
+                    $motivationDataTableSort[$indMap[$code]][$column] = 0;
                 }
             }