Merge pull request #377 from zzottel/master

make content filter by language work for excludes
This commit is contained in:
redmatrix 2015-07-22 17:51:41 +10:00
commit ab4ce0e2f4

View File

@ -3383,7 +3383,7 @@ function post_is_importable($item,$abook) {
$lang = null;
if((strpos($abook['abook_incl'],'lang=') !== false) || (strpos($abook['abook_incl'],'lang=') !== false))
if((strpos($abook['abook_incl'],'lang=') !== false) || (strpos($abook['abook_excl'],'lang=') !== false))
$lang = detect_language($text);
$tags = ((count($item['term'])) ? $item['term'] : false);