aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.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/follow.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/follow.php')
-rw-r--r--mod/follow.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 235353f7a..d839a04d4 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -122,7 +122,8 @@ function follow_post(&$a) {
$photos = import_profile_photo($vcard['photo'],local_user(),$contact_id);
$r = q("UPDATE `contact` SET `photo` = '%s',
- `thumb` = '%s',
+ `thumb` = '%s',
+ `micro` = '%s',
`name-date` = '%s',
`uri-date` = '%s',
`avatar-date` = '%s'
@@ -130,6 +131,7 @@ function follow_post(&$a) {
",
dbesc($photos[0]),
dbesc($photos[1]),
+ dbesc($photos[2]),
dbesc(datetime_convert()),
dbesc(datetime_convert()),
dbesc(datetime_convert()),