update v 1.0.7.5
This commit is contained in:
@@ -28,7 +28,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
protected $fillable = ['user_name', 'email', 'password', 'active', 'first_name', 'last_name', 'ban', 'ext', 'mobile', 'profile_pic',
|
||||
'phone_number', 'company', 'agent_sign', 'account_type', 'account_status',
|
||||
'assign_group', 'primary_dpt', 'agent_tzone', 'daylight_save', 'limit_access',
|
||||
'directory_listing', 'vacation_mode', 'role', 'internal_note', ];
|
||||
'directory_listing', 'vacation_mode', 'role', 'internal_note', 'country_code', ];
|
||||
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
@@ -39,6 +39,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
|
||||
public function getProfilePicAttribute($value)
|
||||
{
|
||||
//$n =1;
|
||||
if (!$value) {
|
||||
return \Gravatar::src($this->attributes['email']);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user