From 5c52120fb4a320d71dd2d7b1967d824848c04120 Mon Sep 17 00:00:00 2001 From: zottel Date: Wed, 22 Jul 2015 09:34:32 +0200 Subject: make content filter by language work for excludes --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 5e84944a4..fdcae3a6c 100755 --- a/include/items.php +++ b/include/items.php @@ -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); -- cgit v1.2.3