From ddeb80cdf37de7d3e28d448014243da6c10fd8df Mon Sep 17 00:00:00 2001 From: Allan Date: Wed, 19 May 2021 07:32:35 +0200 Subject: [PATCH] Fixed typo --- framework/db/BaseActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/BaseActiveRecord.php b/framework/db/BaseActiveRecord.php index 6555cf2f5d..a732e9c075 100644 --- a/framework/db/BaseActiveRecord.php +++ b/framework/db/BaseActiveRecord.php @@ -226,7 +226,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface * Or add [[\yii\behaviors\OptimisticLockBehavior|OptimisticLockBehavior]] to your model * class in order to automate the process. * 3. In the Web form that collects the user input, add a hidden field that stores - * the lock version of the recording being updated. + * the lock version of the record being updated. * 4. In the controller action that does the data updating, try to catch the [[StaleObjectException]] * and implement necessary business logic (e.g. merging the changes, prompting stated data) * to resolve the conflict.