diff options
| author | winter | 2025-02-14 22:47:05 +0000 |
|---|---|---|
| committer | winter | 2025-02-14 22:47:05 +0000 |
| commit | 65dfe7aff06dfd3b044a5deb47b03d643c651ec1 (patch) | |
| tree | d86894a978336edaeb269a25944c1ed2dacc80e3 /routes/actor_profile_fragment.php | |
| parent | 5af36fccc0904cf743e3d598813d246e3fa52634 (diff) | |
add pronouns to profiles and notes
Diffstat (limited to 'routes/actor_profile_fragment.php')
| -rw-r--r-- | routes/actor_profile_fragment.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/actor_profile_fragment.php b/routes/actor_profile_fragment.php index 45f4487..f2d0004 100644 --- a/routes/actor_profile_fragment.php +++ b/routes/actor_profile_fragment.php @@ -69,6 +69,7 @@ Router::getInstance()->mount('/fragment/profile', function (array $args) { if (strlen($actor->displayName) <= 0) { $actor->displayName = $actor->handle; } + $actor->pronouns = trim($_POST['pronouns'] ?? '') ?: null; $actor->bio = trim($_POST['bio'] ?? ''); if (isset($_FILES['avatar'])) { |
