@@ -15,7 +15,7 @@ |
||
| 15 | 15 | return User::find($uid)->user['sourcedId']; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | - /** protected $fillable = [ |
|
| 18 | + /** protected $fillable = [ |
|
| 19 | 19 | 'username', |
| 20 | 20 | 'email', |
| 21 | 21 | 'password', |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | if (isset($_COOKIE['country']) && $this->checkCountry($_COOKIE['country'])) { // First if the client has a preference |
| 32 | 32 | $country_id = $_COOKIE['country']; |
| 33 | - }else if ($this->checkCountry($clientLanguage)) { // Not a preference? Let's check its browser! |
|
| 33 | + } else if ($this->checkCountry($clientLanguage)) { // Not a preference? Let's check its browser! |
|
| 34 | 34 | $country_id = $clientLanguage; |
| 35 | 35 | } else { // Nevermind let's move to the french language |
| 36 | 36 | $country_id = 'fr'; |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | if (isset($_COOKIE['country']) && $this->checkCountry($_COOKIE['country'])) { // First if the client has a preference |
| 32 | 32 | $country_id = $_COOKIE['country']; |
| 33 | - }else if ($this->checkCountry($clientLanguage)) { // Not a preference? Let's check its browser! |
|
| 33 | + } else if ($this->checkCountry($clientLanguage)) { // Not a preference? Let's check its browser! |
|
| 34 | 34 | $country_id = $clientLanguage; |
| 35 | 35 | } else { // Nevermind let's move to the french language |
| 36 | 36 | $country_id = 'fr'; |