aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/note_fragment.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/note_fragment.php')
-rw-r--r--routes/note_fragment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/note_fragment.php b/routes/note_fragment.php
index be1c33f..916fc8d 100644
--- a/routes/note_fragment.php
+++ b/routes/note_fragment.php
@@ -101,7 +101,7 @@ Router::getInstance()->mount('/fragment/note', function (array $args) {
$note = Note::create(
$author->actor,
trim($_POST['content']),
- 'unk',
+ get_ui_language(), // TODO: actual language selector/detection
$summary,
NotePrivacyScope::from($_POST['scope'])
);