mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-20 06:08:08 +01:00
merge from yiisoft/yii2
This commit is contained in:
@@ -196,4 +196,13 @@ class ActiveDataProvider extends BaseDataProvider
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
if (is_object($this->query)) {
|
||||
$this->query = clone $this->query;
|
||||
}
|
||||
|
||||
parent::__clone();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user