update v 1.0.7.5

This commit is contained in:
Sujit Prasad
2016-06-13 20:41:55 +05:30
parent aa9786d829
commit 283d97e3ea
5078 changed files with 339851 additions and 175995 deletions

View File

@@ -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 {