aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_confirm.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 07a2f847b..fe9c04f85 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -238,6 +238,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
if(($relation == REL_FAN) || ($duplex))
$new_relation = REL_BUD;
+ if(($relation == REL_FAN) && ($duplex))
+ $duplex = 0;
+
$r = q("UPDATE `contact` SET `photo` = '%s',
`thumb` = '%s',
`micro` = '%s',
@@ -455,6 +458,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
if(($relation == REL_VIP) || ($duplex))
$new_relation = REL_BUD;
+ if(($relation == REL_VIP) && ($duplex))
+ $duplex = 0;
+
$r = q("UPDATE `contact` SET
`photo` = '%s',
`thumb` = '%s',