diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-22 17:51:41 +1000 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-22 17:51:41 +1000 |
commit | ab4ce0e2f44bba9352cb6f3a512873ea26f2c013 (patch) | |
tree | eab885538a60026ad08ad7c6f1957431dd4445e9 /include/items.php | |
parent | 3ec6a431b62c20952f07f889acfeedd0ac456d04 (diff) | |
parent | 5c52120fb4a320d71dd2d7b1967d824848c04120 (diff) | |
download | volse-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/items.php')
-rwxr-xr-x | include/items.php | 2 |
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); |