🚨 Correction d'un warning sur les réseaux sociaux
This commit is contained in:
parent
90d230e2f4
commit
8a77e3f44e
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class User
|
|||
}
|
||||
|
||||
public function getSocialNetwork($social) {
|
||||
return $this->getValue('socials')[Text::cleanUrl($social)];
|
||||
return $this->getValue('socials')[Text::cleanUrl($social)] ?? "";
|
||||
}
|
||||
|
||||
public function socials() {
|
||||
|
|
Loading…
Add table
Reference in a new issue