summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-09-17 12:28:31 +0400
committerAndrew Dolgov <[email protected]>2013-09-17 12:28:31 +0400
commit1357a263be61196ad7d02cbf19a6cf08d1e50a80 (patch)
treeddbcfaff9ba8837cdc2f3f0087b27a911d90176f /include/rssfuncs.php
parent4f71d7431c90c5b85ae316b348a176fed368d8d7 (diff)
include title when detecting article language
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index c8aa7dc23..6d067065e 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -572,7 +572,7 @@
print "\n";
}
- $entry_language = $lang->detect($entry_content, 1);
+ $entry_language = $lang->detect($entry_title . " " . $entry_content, 1);
if (count($entry_language) > 0) {
$entry_language = array_keys($entry_language);