diff --git a/app/common/model/system/Content.php b/app/common/model/system/Content.php index 5b6d59cd25634b806232a94a16444c7fa4c63084..cc81c37cc9ef2666bb1cb837c5530f5ca52dc5c1 100644 --- a/app/common/model/system/Content.php +++ b/app/common/model/system/Content.php @@ -308,6 +308,9 @@ class Content extends Model */ public static function setAttributeAttr($attribute, $data) { + if(empty($attribute)){ + return; + } $pattern = "/