aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2015-07-22 09:34:32 +0200
committerzottel <github@zottel.net>2015-07-22 09:34:32 +0200
commit5c52120fb4a320d71dd2d7b1967d824848c04120 (patch)
treeeab885538a60026ad08ad7c6f1957431dd4445e9 /include
parent3ec6a431b62c20952f07f889acfeedd0ac456d04 (diff)
downloadvolse-hubzilla-5c52120fb4a320d71dd2d7b1967d824848c04120.tar.gz
volse-hubzilla-5c52120fb4a320d71dd2d7b1967d824848c04120.tar.bz2
volse-hubzilla-5c52120fb4a320d71dd2d7b1967d824848c04120.zip
make content filter by language work for excludes
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
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);