aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);