Просмотр исходного кода

Update ApiV1Controller, fix source note

Daniel Supernault 3 лет назад
Родитель
Сommit
5254f3921b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Controllers/Api/ApiV1Controller.php

+ 1 - 1
app/Http/Controllers/Api/ApiV1Controller.php

@@ -173,7 +173,7 @@ class ApiV1Controller extends Controller
 			'privacy' => $res['locked'] ? 'private' : 'public',
 			'sensitive' => false,
 			'language' => $user->language ?? 'en',
-			'note' => '',
+			'note' => strip_tags($res['note']),
 			'fields' => []
 		];