aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-31 20:39:04 -0700
committerFriendika <info@friendika.com>2011-10-31 20:39:04 -0700
commitd4644d73392f335a3cc488fbd8935068a567edcf (patch)
tree1fe123926d95305a19c1999ab6f01232a9d43583 /mod/follow.php
parentd5ce13ee12f6d9fcebf905213b66938fb1ceb06c (diff)
downloadvolse-hubzilla-d4644d73392f335a3cc488fbd8935068a567edcf.tar.gz
volse-hubzilla-d4644d73392f335a3cc488fbd8935068a567edcf.tar.bz2
volse-hubzilla-d4644d73392f335a3cc488fbd8935068a567edcf.zip
name change continued, social graph tools and stuctures, fix for spanish province name
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 77c8ae18f..4328e7fe0 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -100,9 +100,9 @@ function follow_post(&$a) {
$new_relation = CONTACT_IS_FOLLOWER;
// create contact record
- $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `addr`, `alias`, `batch`, `notify`, `poll`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`,
+ $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `addr`, `alias`, `batch`, `notify`, `poll`, `poco`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`,
`writable`, `blocked`, `readonly`, `pending` )
- VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, 0, 0, 0 ) ",
+ VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, 0, 0, 0 ) ",
intval(local_user()),
dbesc(datetime_convert()),
dbesc($ret['url']),
@@ -111,6 +111,7 @@ function follow_post(&$a) {
dbesc($ret['batch']),
dbesc($ret['notify']),
dbesc($ret['poll']),
+ dbesc($ret['poco']),
dbesc($ret['name']),
dbesc($ret['nick']),
dbesc($ret['photo']),