From: Vladimir Fomichev Date: Mon, 15 Dec 2025 14:51:37 +0000 (+0300) Subject: Убираем createdByAttribute X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=c1f572a964c4f907e23fbc8a21eb9248718cdd2b;p=erp24_rep%2Fyii-erp24%2F.git Убираем createdByAttribute --- diff --git a/erp24/records/ReplacementInvoice.php b/erp24/records/ReplacementInvoice.php index 4949be5a..607b9920 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 всегда устанавливается вручную в setData() + 'createdByAttribute' => null, // Отключено, так как created_admin_id всегда устанавливается вручную в setData() 'updatedByAttribute' => 'updated_admin_id', ], ];