From 715d5f30b48790b81d2194be4492847fac885ee2 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Mon, 15 Dec 2025 17:40:10 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D0=B8=D1=80=D0=B0=D0=B5=D0=BC=20cre?= =?utf8?q?atedByAttribute?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/ReplacementInvoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/records/ReplacementInvoice.php b/erp24/records/ReplacementInvoice.php index b1e5f976..4949be5a 100644 --- a/erp24/records/ReplacementInvoice.php +++ b/erp24/records/ReplacementInvoice.php @@ -53,7 +53,7 @@ class ReplacementInvoice extends \yii\db\ActiveRecord ], [ 'class' => BlameableBehavior::class, - 'createdByAttribute' => 'created_admin_id', + // createdByAttribute отключен, так как created_admin_id всегда устанавливается вручную в setData() 'updatedByAttribute' => 'updated_admin_id', ], ]; -- 2.39.5