From 26e9efc746cdb75e5317881c1f1e46df467f319b Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 3 Oct 2020 16:17:18 +0000 Subject: [PATCH] Added brackets --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index e8ebe5671..8af14e824 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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);