]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Убираем createdByAttribute
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 15 Dec 2025 14:51:37 +0000 (17:51 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 15 Dec 2025 14:51:37 +0000 (17:51 +0300)
erp24/records/ReplacementInvoice.php

index 4949be5a12bc2d5774824c76fc2927c4c6753023..607b992065fea498983b02ec1daf9aa146fa2b59 100644 (file)
@@ -53,7 +53,7 @@ class ReplacementInvoice extends \yii\db\ActiveRecord
             ],
             [
                 'class' => BlameableBehavior::class,
-                // createdByAttribute отключен, так как created_admin_id всегда устанавливается вручную в setData()
+                'createdByAttribute' => null, // Отключено, так как created_admin_id всегда устанавливается вручную в setData()
                 'updatedByAttribute' => 'updated_admin_id',
             ],
         ];