Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS

This commit is contained in:
Andrew Dolgov 2014-08-20 12:02:06 +04:00
commit 05a8caddf5
1 changed files with 2 additions and 1 deletions

View File

@ -621,7 +621,8 @@
$entry_language = $lang->detect($entry_title . " " . $entry_content, 1);
if (count($entry_language) > 0) {
@$entry_language = array_keys($entry_language)[0];
$possible = array_keys($entry_language);
$entry_language = $possible[0];
_debug("detected language: $entry_language", $debug_enabled);
} else {