From b94cb8d234d70bc534ad1cef767b9f62d10eef26 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 4 Nov 2010 23:50:32 -0700 Subject: add micro profile photo --- mod/dfrn_confirm.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mod/dfrn_confirm.php') 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()), -- cgit v1.2.3