public function getAvatarPath() { $path = parent::getAvatarPath(); if ($path == null) { $path = "default.png"; } return "Uploads/Avatars/" . $path; }