aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-22 17:51:41 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-07-22 17:51:41 +1000
commitab4ce0e2f44bba9352cb6f3a512873ea26f2c013 (patch)
treeeab885538a60026ad08ad7c6f1957431dd4445e9 /include
parent3ec6a431b62c20952f07f889acfeedd0ac456d04 (diff)
parent5c52120fb4a320d71dd2d7b1967d824848c04120 (diff)
downloadvolse-hubzilla-ab4ce0e2f44bba9352cb6f3a512873ea26f2c013.tar.gz
volse-hubzilla-ab4ce0e2f44bba9352cb6f3a512873ea26f2c013.tar.bz2
volse-hubzilla-ab4ce0e2f44bba9352cb6f3a512873ea26f2c013.zip
Merge pull request #377 from zzottel/master
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);