This commit is contained in:
2020-12-14 10:16:03 +08:00
parent a2d8fc0207
commit d3909caca9
+2 -1
View File
@@ -202,7 +202,8 @@ class ' . $managerName . ' extends ActiveRecord
/**
* @param $value
* @return false|string
*/
* @throws Exception
*/
public function set' . ucfirst($field['Field']) . 'Attribute($value)
{
if ( !is_string($value) ) {