diff options
author | zottel <github@zottel.net> | 2015-07-22 09:34:32 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-07-22 09:34:32 +0200 |
commit | 5c52120fb4a320d71dd2d7b1967d824848c04120 (patch) | |
tree | eab885538a60026ad08ad7c6f1957431dd4445e9 /include/items.php | |
parent | 3ec6a431b62c20952f07f889acfeedd0ac456d04 (diff) | |
download | volse-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/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); |