Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
857d3004eb
commit
88f3df2180
@@ -13,10 +13,11 @@ class User_org extends BaseModel
|
||||
/* define fillable fields */
|
||||
protected $fillable = ['id', 'org_id', 'user_id'];
|
||||
|
||||
public function setOrgIdAttribute($value){
|
||||
if($value==""){
|
||||
public function setOrgIdAttribute($value)
|
||||
{
|
||||
if ($value == '') {
|
||||
$this->attributes['org_id'] = null;
|
||||
}else{
|
||||
} else {
|
||||
$this->attributes['org_id'] = $value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user