aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/import.php b/mod/import.php
index 030b714bc..d3864c077 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -324,7 +324,7 @@ function import_post(&$a) {
foreach($abooks as $abook) {
if($max_friends !== false && $friends > $max_friends)
continue;
- if($max_feeds !== false && ($abook['abook_flags'] & ABOOK_FLAG_FEED) && $feeds > $max_feeds)
+ if($max_feeds !== false && intval($abook['abook_feed']) && ($feeds > $max_feeds))
continue;
unset($abook['abook_id']);
@@ -338,7 +338,7 @@ function import_post(&$a) {
. "')" );
$friends ++;
- if($abook['abook_flags'] & ABOOK_FLAG_FEED)
+ if(intval($abook['abook_feed']))
$feeds ++;
}
}