Added brackets

pull/9350/head
Michael 2020-10-03 16:17:18 +00:00
parent 2cd54320e4
commit 26e9efc746
1 changed files with 1 additions and 1 deletions

View File

@ -2478,7 +2478,7 @@ class Item
$naked_body = BBCode::toPlaintext($item['body'], false);
$ld = new Language;
$ld = new Language();
$languages = $ld->detect($naked_body)->limit(0, 3)->close();
if (is_array($languages)) {
return json_encode($languages);