This commit is contained in:
as2252258@163.com
2021-04-29 01:02:29 +08:00
parent 0425c47271
commit 11b059fbcc
-4
View File
@@ -794,10 +794,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
*/
public function __set($name, $value)
{
if (!$this->has($name)) {
parent::__set($name, $value);
return;
}
$method = $this->_get_annotation($name, self::SET);
if (!empty($method)) {
$value = $this->{$method}($value);