aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-31 22:15:00 -0700
committerfriendica <info@friendica.com>2014-08-31 22:15:00 -0700
commit2a37d99958d5591d5b9ccfc9bc615ee0588a6036 (patch)
treec22b433f6a4fe5eeb07d8dfdffb5c4f0fec28cc2 /include/follow.php
parenta63de472cf1b5cff1ebda821d3a6ba39cf37f839 (diff)
downloadvolse-hubzilla-2a37d99958d5591d5b9ccfc9bc615ee0588a6036.tar.gz
volse-hubzilla-2a37d99958d5591d5b9ccfc9bc615ee0588a6036.tar.bz2
volse-hubzilla-2a37d99958d5591d5b9ccfc9bc615ee0588a6036.zip
get out the sunnies
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/follow.php b/include/follow.php
index 8f14a5062..102d84605 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -204,11 +204,12 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
);
}
else {
- $r = q("insert into abook ( abook_account, abook_channel, abook_xchan, abook_their_perms, abook_my_perms, abook_created, abook_updated )
- values( %d, %d, '%s', %d, %d, '%s', '%s' ) ",
+ $r = q("insert into abook ( abook_account, abook_channel, abook_xchan, abook_flags, abook_their_perms, abook_my_perms, abook_created, abook_updated )
+ values( %d, %d, '%s', %d, %d, %d, '%s', '%s' ) ",
intval($aid),
intval($uid),
dbesc($xchan_hash),
+ intval(($is_http) ? ABOOK_FLAG_FEED : 0),
intval($their_perms),
intval($my_perms),
dbesc(datetime_convert()),