Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug where component behaviors could be double-attached
This fixes a 3.0 bug introduced in yiisoft/yii2#16430. If a component's behaviors() method returns any behaviors without a name, then cloning it would result in the behavior getting attached twice.
- Loading branch information