diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-23 01:20:26 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-23 01:20:26 -0700 |
commit | b8b227b32882fb511c8481a41c53637e7ce7707a (patch) | |
tree | 9116351081efa6547268a62332dc4385b1422fbd /mod/dfrn_request.php | |
parent | d850badf2b5717afe39a5fd96dabd29aa013910a (diff) | |
download | volse-hubzilla-b8b227b32882fb511c8481a41c53637e7ce7707a.tar.gz volse-hubzilla-b8b227b32882fb511c8481a41c53637e7ce7707a.tar.bz2 volse-hubzilla-b8b227b32882fb511c8481a41c53637e7ce7707a.zip |
add nicknames to contact records (going forward and retroactive)
Diffstat (limited to 'mod/dfrn_request.php')
-rw-r--r-- | mod/dfrn_request.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 6e8171d50..ddf495986 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -96,13 +96,14 @@ function dfrn_request_post(&$a) { dbesc_array($parms); - $r = q("INSERT INTO `contact` ( `uid`, `created`,`url`, `name`, `photo`, `site-pubkey`, + $r = q("INSERT INTO `contact` ( `uid`, `created`,`url`, `name`, `nick`, `photo`, `site-pubkey`, `request`, `confirm`, `notify`, `poll`, `aes_allow`) - VALUES ( %d, '%s', '%s', '%s' , '%s', '%s', '%s', '%s', '%s', '%s', %d)", + VALUES ( %d, '%s', '%s', '%s' , '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d)", intval(local_user()), datetime_convert(), dbesc($dfrn_url), $parms['fn'], + $parms['nick'], $parms['photo'], $parms['key'], $parms['dfrn-request'], @@ -271,13 +272,14 @@ function dfrn_request_post(&$a) { dbesc_array($parms); - $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `name`, `issued-id`, `photo`, `site-pubkey`, + $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `name`, `nick`, `issued-id`, `photo`, `site-pubkey`, `request`, `confirm`, `notify`, `poll` ) - VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' )", + VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' )", intval($uid), datetime_convert(), $parms['url'], $parms['fn'], + $parms['nick'], $parms['issued-id'], $parms['photo'], $parms['key'], |