改名
This commit is contained in:
+1
-1
@@ -219,7 +219,7 @@ class ' . $managerName . ' extends ActiveRecord
|
|||||||
*/
|
*/
|
||||||
public function get' . ucfirst($field['Field']) . 'Attribute($value)
|
public function get' . ucfirst($field['Field']) . 'Attribute($value)
|
||||||
{
|
{
|
||||||
$value = stripcslashes($value)
|
$value = stripcslashes($value);
|
||||||
if ( is_string($value) ) {
|
if ( is_string($value) ) {
|
||||||
return JSON::decode($value, true);
|
return JSON::decode($value, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user