🚨 Correction d'un warning sur les réseaux sociaux

This commit is contained in:
Kazhnuz 2025-07-13 12:45:24 +02:00
parent 90d230e2f4
commit 8a77e3f44e

View file

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