This commit is contained in:
2020-12-14 10:14:50 +08:00
parent 4e0f1d5e69
commit a2d8fc0207
+1 -1
View File
@@ -219,7 +219,7 @@ class ' . $managerName . ' extends ActiveRecord
*/
public function get' . ucfirst($field['Field']) . 'Attribute($value)
{
$value = stripcslashes($value)
$value = stripcslashes($value);
if ( is_string($value) ) {
return JSON::decode($value, true);
}