aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_confirm.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-04 23:50:32 -0700
committerFriendika <info@friendika.com>2010-11-04 23:50:32 -0700
commitb94cb8d234d70bc534ad1cef767b9f62d10eef26 (patch)
tree9e8cf0d529421c7b8d8e389478be8c4b196d11e6 /mod/dfrn_confirm.php
parent71ae08d506130e45f68cf4e09d71f3a1c2e2d782 (diff)
downloadvolse-hubzilla-b94cb8d234d70bc534ad1cef767b9f62d10eef26.tar.gz
volse-hubzilla-b94cb8d234d70bc534ad1cef767b9f62d10eef26.tar.bz2
volse-hubzilla-b94cb8d234d70bc534ad1cef767b9f62d10eef26.zip
add micro profile photo
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r--mod/dfrn_confirm.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 705f74f13..4a5fe1114 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -238,7 +238,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
$new_relation = REL_BUD;
$r = q("UPDATE `contact` SET `photo` = '%s',
- `thumb` = '%s',
+ `thumb` = '%s',
+ `micro` = '%s',
`rel` = %d,
`name-date` = '%s',
`uri-date` = '%s',
@@ -250,6 +251,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
",
dbesc($photos[0]),
dbesc($photos[1]),
+ dbesc($photos[2]),
intval($new_relation),
dbesc(datetime_convert()),
dbesc(datetime_convert()),
@@ -281,7 +283,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
);
$r = q("UPDATE `contact` SET `photo` = '%s',
- `thumb` = '%s',
+ `thumb` = '%s',
+ `micro` = '%s',
`name-date` = '%s',
`uri-date` = '%s',
`avatar-date` = '%s',
@@ -293,6 +296,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
",
dbesc($photos[0]),
dbesc($photos[1]),
+ dbesc($photos[2]),
dbesc(datetime_convert()),
dbesc(datetime_convert()),
dbesc(datetime_convert()),